In RGB color space, #5012d4 hex color has a red value of 80, a green value of 18 and a blue value of 212.
In CMYK color space (used in color printing), #5012d4 hex color is composed of 62.26% cyan, 91.51% magenta, 0% yellow and 16.86% black.
#5012d4 color has a hue of 259.2 degrees, a saturation of 84.35% and a lightness of 45.1%.
#5012d4 hex color contains mainly BLUE.
The closest web safe color of #5012d4 is #6600cc
#5012d4 hex color has a decimal value of 5247700.
HEX | 5012d4 | #5012d4 |
---|---|---|
RGB | 80, 18, 212 | rgb(80, 18, 212) |
RGB Percent | 31.37, 7.06, 83.14 | rgb(31.37, 7.06, 83.14) |
CMYK | 62, 92, 0, 17 | |
HSL | 259.2°, 84.35, 45.1 | hsl(259.2, 84.35%, 45.1%) |
HSV | 259.2°, 91.5, 83.1 |
XYZ | 15.408, 6.892, 62.805 |
---|---|
Hunter Lab | 26.253, 58.822, -123.465 |
CIE-LAB | 31.56, 67.63, -84.485 |
CIE-LCH | 31.56, 108.22, 308.677 |
CIE-LUV | 62.26, 91.51, 0, 16.86 |
Web Safe | 6600cc |
RGB percent of color #5012d4
CMYK percent of color #5012d4
Text with hexadecimal color #5012d4
This text has a font color of #5012d4
<p style="color:#5012d4">Text here</p>
#5012d4 Background Color
This box has a background color of #5012d4
<div style="background-color:#5012d4">Text here</div>
#5012d4 Border Color
This box has a border color of #5012d4
<div style="border: 4px solid #5012d4">Text here</div>
CSS codes
<p style="color:#5012d4">Text here</p>
<div style="background-color:#5012d4">Text here</div>
<div style="border: 4px solid #5012d4">Text here</div>
#5012d4 Color on white background
This is how a font and box color of #5012d4 will look
on a white background.
#5012d4 Color on black background
This is how a font and box color of #5012d4 hex color will look
on a black background.