In RGB color space, #1f2828 hex color has a red value of 31, a green value of 40 and a blue value of 40.
In CMYK color space (used in color printing), #1f2828 hex color is composed of 22.5% cyan, 0% magenta, 0% yellow and 84.31% black.
#1f2828 color has a hue of 180 degrees, a saturation of 12.68% and a lightness of 13.9%.
#1f2828 hex color contains mainly GREEN.
The closest web safe color of #1f2828 is #333333
#1f2828 hex color has a decimal value of 2041896.
HEX | 1f2828 | #1f2828 |
---|---|---|
RGB | 31, 40, 40 | rgb(31, 40, 40) |
RGB Percent | 12.16, 15.69, 15.69 | rgb(12.16, 15.69, 15.69) |
CMYK | 23, 0, 0, 84 | |
HSL | 180°, 12.68, 13.9 | hsl(180, 12.68%, 13.9%) |
HSV | 180°, 22.5, 15.7 |
XYZ | 1.707, 1.962, 2.296 |
---|---|
Hunter Lab | 14.007, -2.759, 0.086 |
CIE-LAB | 15.287, -3.917, -1.312 |
CIE-LCH | 15.287, 4.131, 198.518 |
CIE-LUV | 22.5, 0, 0, 84.31 |
Web Safe | 333333 |
RGB percent of color #1f2828
CMYK percent of color #1f2828
Text with hexadecimal color #1f2828
This text has a font color of #1f2828
<p style="color:#1f2828">Text here</p>
#1f2828 Background Color
This box has a background color of #1f2828
<div style="background-color:#1f2828">Text here</div>
#1f2828 Border Color
This box has a border color of #1f2828
<div style="border: 4px solid #1f2828">Text here</div>
CSS codes
<p style="color:#1f2828">Text here</p>
<div style="background-color:#1f2828">Text here</div>
<div style="border: 4px solid #1f2828">Text here</div>
#1f2828 Color on white background
This is how a font and box color of #1f2828 will look
on a white background.
#1f2828 Color on black background
This is how a font and box color of #1f2828 hex color will look
on a black background.