In RGB color space, #021218 hex color has a red value of 2, a green value of 18 and a blue value of 24.
In CMYK color space (used in color printing), #021218 hex color is composed of 91.67% cyan, 25% magenta, 0% yellow and 90.59% black.
#021218 color has a hue of 196.4 degrees, a saturation of 84.62% and a lightness of 5.1%.
#021218 hex color contains mainly BLUE.
The closest web safe color of #021218 is #000000
#021218 hex color has a decimal value of 135704.
HEX | 021218 | #021218 |
---|---|---|
RGB | 2, 18, 24 | rgb(2, 18, 24) |
RGB Percent | 0.78, 7.06, 9.41 | rgb(0.78, 7.06, 9.41) |
CMYK | 92, 25, 0, 91 | |
HSL | 196.4°, 84.62, 5.1 | hsl(196.4, 84.62%, 5.1%) |
HSV | 196.4°, 91.7, 9.4 |
XYZ | 0.406, 0.511, 0.941 |
---|---|
Hunter Lab | 7.148, -2.372, -2.801 |
CIE-LAB | 4.616, -3.264, -5.501 |
CIE-LCH | 4.616, 6.396, 239.317 |
CIE-LUV | 91.67, 25, 0, 90.59 |
Web Safe | 000000 |
RGB percent of color #021218
CMYK percent of color #021218
Text with hexadecimal color #021218
This text has a font color of #021218
<p style="color:#021218">Text here</p>
#021218 Background Color
This box has a background color of #021218
<div style="background-color:#021218">Text here</div>
#021218 Border Color
This box has a border color of #021218
<div style="border: 4px solid #021218">Text here</div>
CSS codes
<p style="color:#021218">Text here</p>
<div style="background-color:#021218">Text here</div>
<div style="border: 4px solid #021218">Text here</div>
#021218 Color on white background
This is how a font and box color of #021218 will look
on a white background.
#021218 Color on black background
This is how a font and box color of #021218 hex color will look
on a black background.