In RGB color space, #021b1f hex color has a red value of 2, a green value of 27 and a blue value of 31.
In CMYK color space (used in color printing), #021b1f hex color is composed of 93.55% cyan, 12.9% magenta, 0% yellow and 87.84% black.
#021b1f color has a hue of 188.3 degrees, a saturation of 87.88% and a lightness of 6.5%.
#021b1f hex color contains mainly BLUE.
The closest web safe color of #021b1f is #003333
#021b1f hex color has a decimal value of 138015.
HEX | 021b1f | #021b1f |
---|---|---|
RGB | 2, 27, 31 | rgb(2, 27, 31) |
RGB Percent | 0.78, 10.59, 12.16 | rgb(0.78, 10.59, 12.16) |
CMYK | 94, 13, 0, 88 | |
HSL | 188.3°, 87.88, 6.5 | hsl(188.3, 87.88%, 6.5%) |
HSV | 188.3°, 93.5, 12.2 |
XYZ | 0.664, 0.896, 1.434 |
---|---|
Hunter Lab | 9.466, -4.044, -2.356 |
CIE-LAB | 8.093, -7.684, -5.691 |
CIE-LCH | 8.093, 9.562, 216.525 |
CIE-LUV | 93.55, 12.9, 0, 87.84 |
Web Safe | 003333 |
RGB percent of color #021b1f
CMYK percent of color #021b1f
Text with hexadecimal color #021b1f
This text has a font color of #021b1f
<p style="color:#021b1f">Text here</p>
#021b1f Background Color
This box has a background color of #021b1f
<div style="background-color:#021b1f">Text here</div>
#021b1f Border Color
This box has a border color of #021b1f
<div style="border: 4px solid #021b1f">Text here</div>
CSS codes
<p style="color:#021b1f">Text here</p>
<div style="background-color:#021b1f">Text here</div>
<div style="border: 4px solid #021b1f">Text here</div>
#021b1f Color on white background
This is how a font and box color of #021b1f will look
on a white background.
#021b1f Color on black background
This is how a font and box color of #021b1f hex color will look
on a black background.