In RGB color space, #1f1f2f hex color has a red value of 31, a green value of 31 and a blue value of 47.
In CMYK color space (used in color printing), #1f1f2f hex color is composed of 34.04% cyan, 34.04% magenta, 0% yellow and 81.57% black.
#1f1f2f color has a hue of 240 degrees, a saturation of 20.51% and a lightness of 15.3%.
#1f1f2f hex color contains mainly BLUE.
The closest web safe color of #1f1f2f is #333333
#1f1f2f hex color has a decimal value of 2039599.
HEX | 1f1f2f | #1f1f2f |
---|---|---|
RGB | 31, 31, 47 | rgb(31, 31, 47) |
RGB Percent | 12.16, 12.16, 18.43 | rgb(12.16, 12.16, 18.43) |
CMYK | 34, 34, 0, 82 | |
HSL | 240°, 20.51, 15.3 | hsl(240, 20.51%, 15.3%) |
HSV | 240°, 34, 18.4 |
XYZ | 1.568, 1.477, 2.892 |
---|---|
Hunter Lab | 12.153, 1.762, -5.602 |
CIE-LAB | 12.461, 4.607, -10.602 |
CIE-LCH | 12.461, 11.56, 293.487 |
CIE-LUV | 34.04, 34.04, 0, 81.57 |
Web Safe | 333333 |
RGB percent of color #1f1f2f
CMYK percent of color #1f1f2f
Text with hexadecimal color #1f1f2f
This text has a font color of #1f1f2f
<p style="color:#1f1f2f">Text here</p>
#1f1f2f Background Color
This box has a background color of #1f1f2f
<div style="background-color:#1f1f2f">Text here</div>
#1f1f2f Border Color
This box has a border color of #1f1f2f
<div style="border: 4px solid #1f1f2f">Text here</div>
CSS codes
<p style="color:#1f1f2f">Text here</p>
<div style="background-color:#1f1f2f">Text here</div>
<div style="border: 4px solid #1f1f2f">Text here</div>
#1f1f2f Color on white background
This is how a font and box color of #1f1f2f will look
on a white background.
#1f1f2f Color on black background
This is how a font and box color of #1f1f2f hex color will look
on a black background.