In RGB color space, #1f0c3c hex color has a red value of 31, a green value of 12 and a blue value of 60.
In CMYK color space (used in color printing), #1f0c3c hex color is composed of 48.33% cyan, 80% magenta, 0% yellow and 76.47% black.
#1f0c3c color has a hue of 263.8 degrees, a saturation of 66.67% and a lightness of 14.1%.
#1f0c3c hex color contains mainly BLUE.
The closest web safe color of #1f0c3c is #330033
#1f0c3c hex color has a decimal value of 2034748.
HEX | 1f0c3c | #1f0c3c |
---|---|---|
RGB | 31, 12, 60 | rgb(31, 12, 60) |
RGB Percent | 12.16, 4.71, 23.53 | rgb(12.16, 4.71, 23.53) |
CMYK | 48, 80, 0, 76 | |
HSL | 263.8°, 66.67, 14.1 | hsl(263.8, 66.67%, 14.1%) |
HSV | 263.8°, 80, 23.5 |
XYZ | 1.512, 0.88, 4.365 |
---|---|
Hunter Lab | 9.381, 12.354, -21.022 |
CIE-LAB | 7.949, 22.522, -27.158 |
CIE-LCH | 7.949, 35.282, 309.669 |
CIE-LUV | 48.33, 80, 0, 76.47 |
Web Safe | 330033 |
RGB percent of color #1f0c3c
CMYK percent of color #1f0c3c
Text with hexadecimal color #1f0c3c
This text has a font color of #1f0c3c
<p style="color:#1f0c3c">Text here</p>
#1f0c3c Background Color
This box has a background color of #1f0c3c
<div style="background-color:#1f0c3c">Text here</div>
#1f0c3c Border Color
This box has a border color of #1f0c3c
<div style="border: 4px solid #1f0c3c">Text here</div>
CSS codes
<p style="color:#1f0c3c">Text here</p>
<div style="background-color:#1f0c3c">Text here</div>
<div style="border: 4px solid #1f0c3c">Text here</div>
#1f0c3c Color on white background
This is how a font and box color of #1f0c3c will look
on a white background.
#1f0c3c Color on black background
This is how a font and box color of #1f0c3c hex color will look
on a black background.