In RGB color space, #1f1f1f hex color has a red value of 31, a green value of 31 and a blue value of 31.
In CMYK color space (used in color printing), #1f1f1f hex color is composed of 0% cyan, 0% magenta, 0% yellow and 87.84% black.
#1f1f1f color has a hue of 0 degrees, a saturation of 0% and a lightness of 12.2%.
#1f1f1f hex color contains an equal amount of RED, GREEN and BLUE.
The closest web safe color of #1f1f1f is #333333
#1f1f1f hex color has a decimal value of 2039583.
HEX | 1f1f1f | #1f1f1f |
---|---|---|
RGB | 31, 31, 31 | rgb(31, 31, 31) |
RGB Percent | 12.16, 12.16, 12.16 | rgb(12.16, 12.16, 12.16) |
CMYK | 0, 0, 0, 88 | |
HSL | 0°, 0, 12.2 | hsl(0, 0%, 12.2%) |
HSV | 0°, 0, 12.156862745098 |
XYZ | 1.302, 1.37, 1.492 |
---|---|
Hunter Lab | 11.705, -0.627, 0.636 |
CIE-LAB | 11.757, -0.004, -0.003 |
CIE-LCH | 11.757, 0.005, 216.87 |
CIE-LUV | 0, 0, 0, 87.84 |
Web Safe | 333333 |
RGB percent of color #1f1f1f
CMYK percent of color #1f1f1f
Text with hexadecimal color #1f1f1f
This text has a font color of #1f1f1f
<p style="color:#1f1f1f">Text here</p>
#1f1f1f Background Color
This box has a background color of #1f1f1f
<div style="background-color:#1f1f1f">Text here</div>
#1f1f1f Border Color
This box has a border color of #1f1f1f
<div style="border: 4px solid #1f1f1f">Text here</div>
CSS codes
<p style="color:#1f1f1f">Text here</p>
<div style="background-color:#1f1f1f">Text here</div>
<div style="border: 4px solid #1f1f1f">Text here</div>
#1f1f1f Color on white background
This is how a font and box color of #1f1f1f will look
on a white background.
#1f1f1f Color on black background
This is how a font and box color of #1f1f1f hex color will look
on a black background.