In RGB color space, #1f0c4b hex color has a red value of 31, a green value of 12 and a blue value of 75.
In CMYK color space (used in color printing), #1f0c4b hex color is composed of 58.67% cyan, 84% magenta, 0% yellow and 70.59% black.
#1f0c4b color has a hue of 258.1 degrees, a saturation of 72.41% and a lightness of 17.1%.
#1f0c4b hex color contains mainly BLUE.
The closest web safe color of #1f0c4b is #330033
#1f0c4b hex color has a decimal value of 2034763.
HEX | 1f0c4b | #1f0c4b |
---|---|---|
RGB | 31, 12, 75 | rgb(31, 12, 75) |
RGB Percent | 12.16, 4.71, 29.41 | rgb(12.16, 4.71, 29.41) |
CMYK | 59, 84, 0, 71 | |
HSL | 258.1°, 72.41, 17.1 | hsl(258.1, 72.41%, 17.1%) |
HSV | 258.1°, 84, 29.4 |
XYZ | 1.967, 1.062, 6.758 |
---|---|
Hunter Lab | 10.305, 16.036, -31.667 |
CIE-LAB | 9.498, 27.372, -35.225 |
CIE-LCH | 9.498, 44.61, 307.849 |
CIE-LUV | 58.67, 84, 0, 70.59 |
Web Safe | 330033 |
RGB percent of color #1f0c4b
CMYK percent of color #1f0c4b
Text with hexadecimal color #1f0c4b
This text has a font color of #1f0c4b
<p style="color:#1f0c4b">Text here</p>
#1f0c4b Background Color
This box has a background color of #1f0c4b
<div style="background-color:#1f0c4b">Text here</div>
#1f0c4b Border Color
This box has a border color of #1f0c4b
<div style="border: 4px solid #1f0c4b">Text here</div>
CSS codes
<p style="color:#1f0c4b">Text here</p>
<div style="background-color:#1f0c4b">Text here</div>
<div style="border: 4px solid #1f0c4b">Text here</div>
#1f0c4b Color on white background
This is how a font and box color of #1f0c4b will look
on a white background.
#1f0c4b Color on black background
This is how a font and box color of #1f0c4b hex color will look
on a black background.