In RGB color space, #021042 hex color has a red value of 2, a green value of 16 and a blue value of 66.
In CMYK color space (used in color printing), #021042 hex color is composed of 96.97% cyan, 75.76% magenta, 0% yellow and 74.12% black.
#021042 color has a hue of 226.9 degrees, a saturation of 94.12% and a lightness of 13.3%.
#021042 hex color contains mainly BLUE.
The closest web safe color of #021042 is #000033
#021042 hex color has a decimal value of 135234.
HEX | 021042 | #021042 |
---|---|---|
RGB | 2, 16, 66 | rgb(2, 16, 66) |
RGB Percent | 0.78, 6.27, 25.88 | rgb(0.78, 6.27, 25.88) |
CMYK | 97, 76, 0, 74 | |
HSL | 226.9°, 94.12, 13.3 | hsl(226.9, 94.12%, 13.3%) |
HSV | 226.9°, 97, 25.9 |
XYZ | 1.194, 0.777, 5.241 |
---|---|
Hunter Lab | 8.815, 8.753, -29.082 |
CIE-LAB | 7.019, 17.014, -33.065 |
CIE-LCH | 7.019, 37.186, 297.229 |
CIE-LUV | 96.97, 75.76, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #021042
CMYK percent of color #021042
Text with hexadecimal color #021042
This text has a font color of #021042
<p style="color:#021042">Text here</p>
#021042 Background Color
This box has a background color of #021042
<div style="background-color:#021042">Text here</div>
#021042 Border Color
This box has a border color of #021042
<div style="border: 4px solid #021042">Text here</div>
CSS codes
<p style="color:#021042">Text here</p>
<div style="background-color:#021042">Text here</div>
<div style="border: 4px solid #021042">Text here</div>
#021042 Color on white background
This is how a font and box color of #021042 will look
on a white background.
#021042 Color on black background
This is how a font and box color of #021042 hex color will look
on a black background.