In RGB color space, #1f0c4c hex color has a red value of 31, a green value of 12 and a blue value of 76.
In CMYK color space (used in color printing), #1f0c4c hex color is composed of 59.21% cyan, 84.21% magenta, 0% yellow and 70.2% black.
#1f0c4c color has a hue of 257.8 degrees, a saturation of 72.73% and a lightness of 17.3%.
#1f0c4c hex color contains mainly BLUE.
The closest web safe color of #1f0c4c is #330033
#1f0c4c hex color has a decimal value of 2034764.
HEX | 1f0c4c | #1f0c4c |
---|---|---|
RGB | 31, 12, 76 | rgb(31, 12, 76) |
RGB Percent | 12.16, 4.71, 29.8 | rgb(12.16, 4.71, 29.8) |
CMYK | 59, 84, 0, 70 | |
HSL | 257.8°, 72.73, 17.3 | hsl(257.8, 72.73%, 17.3%) |
HSV | 257.8°, 84.2, 29.8 |
XYZ | 2.001, 1.076, 6.94 |
---|---|
Hunter Lab | 10.373, 16.281, -32.406 |
CIE-LAB | 9.609, 27.677, -35.737 |
CIE-LCH | 9.609, 45.201, 307.756 |
CIE-LUV | 59.21, 84.21, 0, 70.2 |
Web Safe | 330033 |
RGB percent of color #1f0c4c
CMYK percent of color #1f0c4c
Text with hexadecimal color #1f0c4c
This text has a font color of #1f0c4c
<p style="color:#1f0c4c">Text here</p>
#1f0c4c Background Color
This box has a background color of #1f0c4c
<div style="background-color:#1f0c4c">Text here</div>
#1f0c4c Border Color
This box has a border color of #1f0c4c
<div style="border: 4px solid #1f0c4c">Text here</div>
CSS codes
<p style="color:#1f0c4c">Text here</p>
<div style="background-color:#1f0c4c">Text here</div>
<div style="border: 4px solid #1f0c4c">Text here</div>
#1f0c4c Color on white background
This is how a font and box color of #1f0c4c will look
on a white background.
#1f0c4c Color on black background
This is how a font and box color of #1f0c4c hex color will look
on a black background.