In RGB color space, #1f2a2a hex color has a red value of 31, a green value of 42 and a blue value of 42.
In CMYK color space (used in color printing), #1f2a2a hex color is composed of 26.19% cyan, 0% magenta, 0% yellow and 83.53% black.
#1f2a2a color has a hue of 180 degrees, a saturation of 15.07% and a lightness of 14.3%.
#1f2a2a hex color contains mainly GREEN.
The closest web safe color of #1f2a2a is #333333
#1f2a2a hex color has a decimal value of 2042410.
HEX | 1f2a2a | #1f2a2a |
---|---|---|
RGB | 31, 42, 42 | rgb(31, 42, 42) |
RGB Percent | 12.16, 16.47, 16.47 | rgb(12.16, 16.47, 16.47) |
CMYK | 26, 0, 0, 84 | |
HSL | 180°, 15.07, 14.3 | hsl(180, 15.07%, 14.3%) |
HSV | 180°, 26.2, 16.5 |
XYZ | 1.811, 2.114, 2.503 |
---|---|
Hunter Lab | 14.54, -3.211, -0.029 |
CIE-LAB | 16.074, -4.706, -1.567 |
CIE-LCH | 16.074, 4.96, 198.417 |
CIE-LUV | 26.19, 0, 0, 83.53 |
Web Safe | 333333 |
RGB percent of color #1f2a2a
CMYK percent of color #1f2a2a
Text with hexadecimal color #1f2a2a
This text has a font color of #1f2a2a
<p style="color:#1f2a2a">Text here</p>
#1f2a2a Background Color
This box has a background color of #1f2a2a
<div style="background-color:#1f2a2a">Text here</div>
#1f2a2a Border Color
This box has a border color of #1f2a2a
<div style="border: 4px solid #1f2a2a">Text here</div>
CSS codes
<p style="color:#1f2a2a">Text here</p>
<div style="background-color:#1f2a2a">Text here</div>
<div style="border: 4px solid #1f2a2a">Text here</div>
#1f2a2a Color on white background
This is how a font and box color of #1f2a2a will look
on a white background.
#1f2a2a Color on black background
This is how a font and box color of #1f2a2a hex color will look
on a black background.