In RGB color space, #512fd4 hex color has a red value of 81, a green value of 47 and a blue value of 212.
In CMYK color space (used in color printing), #512fd4 hex color is composed of 61.79% cyan, 77.83% magenta, 0% yellow and 16.86% black.
#512fd4 color has a hue of 252.4 degrees, a saturation of 65.74% and a lightness of 50.8%.
#512fd4 hex color contains mainly BLUE.
The closest web safe color of #512fd4 is #6633cc
#512fd4 hex color has a decimal value of 5320660.
HEX | 512fd4 | #512fd4 |
---|---|---|
RGB | 81, 47, 212 | rgb(81, 47, 212) |
RGB Percent | 31.76, 18.43, 83.14 | rgb(31.76, 18.43, 83.14) |
CMYK | 62, 78, 0, 17 | |
HSL | 252.4°, 65.74, 50.8 | hsl(252.4, 65.74%, 50.8%) |
HSV | 252.4°, 77.8, 83.1 |
XYZ | 16.294, 8.536, 63.076 |
---|---|
Hunter Lab | 29.216, 48.421, -107.551 |
CIE-LAB | 35.075, 57.607, -78.663 |
CIE-LCH | 35.075, 97.501, 306.216 |
CIE-LUV | 61.79, 77.83, 0, 16.86 |
Web Safe | 6633cc |
RGB percent of color #512fd4
CMYK percent of color #512fd4
Text with hexadecimal color #512fd4
This text has a font color of #512fd4
<p style="color:#512fd4">Text here</p>
#512fd4 Background Color
This box has a background color of #512fd4
<div style="background-color:#512fd4">Text here</div>
#512fd4 Border Color
This box has a border color of #512fd4
<div style="border: 4px solid #512fd4">Text here</div>
CSS codes
<p style="color:#512fd4">Text here</p>
<div style="background-color:#512fd4">Text here</div>
<div style="border: 4px solid #512fd4">Text here</div>
#512fd4 Color on white background
This is how a font and box color of #512fd4 will look
on a white background.
#512fd4 Color on black background
This is how a font and box color of #512fd4 hex color will look
on a black background.