In RGB color space, #5f12a0 hex color has a red value of 95, a green value of 18 and a blue value of 160.
In CMYK color space (used in color printing), #5f12a0 hex color is composed of 40.63% cyan, 88.75% magenta, 0% yellow and 37.25% black.
#5f12a0 color has a hue of 272.5 degrees, a saturation of 79.78% and a lightness of 34.9%.
#5f12a0 hex color contains mainly BLUE.
The closest web safe color of #5f12a0 is #660099
#5f12a0 hex color has a decimal value of 6230688.
HEX | 5f12a0 | #5f12a0 |
---|---|---|
RGB | 95, 18, 160 | rgb(95, 18, 160) |
RGB Percent | 37.25, 7.06, 62.75 | rgb(37.25, 7.06, 62.75) |
CMYK | 41, 89, 0, 37 | |
HSL | 272.5°, 79.78, 34.9 | hsl(272.5, 79.78%, 34.9%) |
HSV | 272.5°, 88.8, 62.7 |
XYZ | 11.281, 5.404, 33.706 |
---|---|
Hunter Lab | 23.247, 45.941, -69.694 |
CIE-LAB | 27.856, 56.685, -59.68 |
CIE-LCH | 27.856, 82.31, 313.526 |
CIE-LUV | 40.63, 88.75, 0, 37.25 |
Web Safe | 660099 |
RGB percent of color #5f12a0
CMYK percent of color #5f12a0
Text with hexadecimal color #5f12a0
This text has a font color of #5f12a0
<p style="color:#5f12a0">Text here</p>
#5f12a0 Background Color
This box has a background color of #5f12a0
<div style="background-color:#5f12a0">Text here</div>
#5f12a0 Border Color
This box has a border color of #5f12a0
<div style="border: 4px solid #5f12a0">Text here</div>
CSS codes
<p style="color:#5f12a0">Text here</p>
<div style="background-color:#5f12a0">Text here</div>
<div style="border: 4px solid #5f12a0">Text here</div>
#5f12a0 Color on white background
This is how a font and box color of #5f12a0 will look
on a white background.
#5f12a0 Color on black background
This is how a font and box color of #5f12a0 hex color will look
on a black background.