In RGB color space, #1f0c2d hex color has a red value of 31, a green value of 12 and a blue value of 45.
In CMYK color space (used in color printing), #1f0c2d hex color is composed of 31.11% cyan, 73.33% magenta, 0% yellow and 82.35% black.
#1f0c2d color has a hue of 274.5 degrees, a saturation of 57.89% and a lightness of 11.2%.
#1f0c2d hex color contains mainly BLUE.
The closest web safe color of #1f0c2d is #330033
#1f0c2d hex color has a decimal value of 2034733.
HEX | 1f0c2d | #1f0c2d |
---|---|---|
RGB | 31, 12, 45 | rgb(31, 12, 45) |
RGB Percent | 12.16, 4.71, 17.65 | rgb(12.16, 4.71, 17.65) |
CMYK | 31, 73, 0, 82 | |
HSL | 274.5°, 57.89, 11.2 | hsl(274.5, 57.89%, 11.2%) |
HSV | 274.5°, 73.3, 17.6 |
XYZ | 1.17, 0.744, 2.564 |
---|---|
Hunter Lab | 8.626, 9.118, -11.586 |
CIE-LAB | 6.72, 17.515, -18.152 |
CIE-LCH | 6.72, 25.224, 313.977 |
CIE-LUV | 31.11, 73.33, 0, 82.35 |
Web Safe | 330033 |
RGB percent of color #1f0c2d
CMYK percent of color #1f0c2d
Text with hexadecimal color #1f0c2d
This text has a font color of #1f0c2d
<p style="color:#1f0c2d">Text here</p>
#1f0c2d Background Color
This box has a background color of #1f0c2d
<div style="background-color:#1f0c2d">Text here</div>
#1f0c2d Border Color
This box has a border color of #1f0c2d
<div style="border: 4px solid #1f0c2d">Text here</div>
CSS codes
<p style="color:#1f0c2d">Text here</p>
<div style="background-color:#1f0c2d">Text here</div>
<div style="border: 4px solid #1f0c2d">Text here</div>
#1f0c2d Color on white background
This is how a font and box color of #1f0c2d will look
on a white background.
#1f0c2d Color on black background
This is how a font and box color of #1f0c2d hex color will look
on a black background.