In RGB color space, #1f0c31 hex color has a red value of 31, a green value of 12 and a blue value of 49.
In CMYK color space (used in color printing), #1f0c31 hex color is composed of 36.73% cyan, 75.51% magenta, 0% yellow and 80.78% black.
#1f0c31 color has a hue of 270.8 degrees, a saturation of 60.66% and a lightness of 12%.
#1f0c31 hex color contains mainly BLUE.
The closest web safe color of #1f0c31 is #330033
#1f0c31 hex color has a decimal value of 2034737.
HEX | 1f0c31 | #1f0c31 |
---|---|---|
RGB | 31, 12, 49 | rgb(31, 12, 49) |
RGB Percent | 12.16, 4.71, 19.22 | rgb(12.16, 4.71, 19.22) |
CMYK | 37, 76, 0, 81 | |
HSL | 270.8°, 60.66, 12 | hsl(270.8, 60.66%, 12%) |
HSV | 270.8°, 75.5, 19.2 |
XYZ | 1.251, 0.776, 2.99 |
---|---|
Hunter Lab | 8.809, 9.933, -13.958 |
CIE-LAB | 7.01, 18.874, -20.668 |
CIE-LCH | 7.01, 27.989, 312.402 |
CIE-LUV | 36.73, 75.51, 0, 80.78 |
Web Safe | 330033 |
RGB percent of color #1f0c31
CMYK percent of color #1f0c31
Text with hexadecimal color #1f0c31
This text has a font color of #1f0c31
<p style="color:#1f0c31">Text here</p>
#1f0c31 Background Color
This box has a background color of #1f0c31
<div style="background-color:#1f0c31">Text here</div>
#1f0c31 Border Color
This box has a border color of #1f0c31
<div style="border: 4px solid #1f0c31">Text here</div>
CSS codes
<p style="color:#1f0c31">Text here</p>
<div style="background-color:#1f0c31">Text here</div>
<div style="border: 4px solid #1f0c31">Text here</div>
#1f0c31 Color on white background
This is how a font and box color of #1f0c31 will look
on a white background.
#1f0c31 Color on black background
This is how a font and box color of #1f0c31 hex color will look
on a black background.