In RGB color space, #5012a7 hex color has a red value of 80, a green value of 18 and a blue value of 167.
In CMYK color space (used in color printing), #5012a7 hex color is composed of 52.1% cyan, 89.22% magenta, 0% yellow and 34.51% black.
#5012a7 color has a hue of 265 degrees, a saturation of 80.54% and a lightness of 36.3%.
#5012a7 hex color contains mainly BLUE.
The closest web safe color of #5012a7 is #660099
#5012a7 hex color has a decimal value of 5247655.
HEX | 5012a7 | #5012a7 |
---|---|---|
RGB | 80, 18, 167 | rgb(80, 18, 167) |
RGB Percent | 31.37, 7.06, 65.49 | rgb(31.37, 7.06, 65.49) |
CMYK | 52, 89, 0, 35 | |
HSL | 265°, 80.54, 36.3 | hsl(265, 80.54%, 36.3%) |
HSV | 265°, 89.2, 65.5 |
XYZ | 10.5, 4.928, 36.957 |
---|---|
Hunter Lab | 22.199, 45.581, -83.166 |
CIE-LAB | 26.529, 56.6, -66.186 |
CIE-LCH | 26.529, 87.087, 310.536 |
CIE-LUV | 52.1, 89.22, 0, 34.51 |
Web Safe | 660099 |
RGB percent of color #5012a7
CMYK percent of color #5012a7
Text with hexadecimal color #5012a7
This text has a font color of #5012a7
<p style="color:#5012a7">Text here</p>
#5012a7 Background Color
This box has a background color of #5012a7
<div style="background-color:#5012a7">Text here</div>
#5012a7 Border Color
This box has a border color of #5012a7
<div style="border: 4px solid #5012a7">Text here</div>
CSS codes
<p style="color:#5012a7">Text here</p>
<div style="background-color:#5012a7">Text here</div>
<div style="border: 4px solid #5012a7">Text here</div>
#5012a7 Color on white background
This is how a font and box color of #5012a7 will look
on a white background.
#5012a7 Color on black background
This is how a font and box color of #5012a7 hex color will look
on a black background.