In RGB color space, #040221 hex color has a red value of 4, a green value of 2 and a blue value of 33.
In CMYK color space (used in color printing), #040221 hex color is composed of 87.88% cyan, 93.94% magenta, 0% yellow and 87.06% black.
#040221 color has a hue of 243.9 degrees, a saturation of 88.57% and a lightness of 6.9%.
#040221 hex color contains mainly BLUE.
The closest web safe color of #040221 is #000033
#040221 hex color has a decimal value of 262689.
HEX | 040221 | #040221 |
---|---|---|
RGB | 4, 2, 33 | rgb(4, 2, 33) |
RGB Percent | 1.57, 0.78, 12.94 | rgb(1.57, 0.78, 12.94) |
CMYK | 88, 94, 0, 87 | |
HSL | 243.9°, 88.57, 6.9 | hsl(243.9, 88.57%, 6.9%) |
HSV | 243.9°, 93.9, 12.9 |
XYZ | 0.346, 0.179, 1.455 |
---|---|
Hunter Lab | 4.231, 7.194, -17.428 |
CIE-LAB | 1.617, 7.204, -17.086 |
CIE-LCH | 1.617, 18.543, 292.862 |
CIE-LUV | 87.88, 93.94, 0, 87.06 |
Web Safe | 000033 |
RGB percent of color #040221
CMYK percent of color #040221
Text with hexadecimal color #040221
This text has a font color of #040221
<p style="color:#040221">Text here</p>
#040221 Background Color
This box has a background color of #040221
<div style="background-color:#040221">Text here</div>
#040221 Border Color
This box has a border color of #040221
<div style="border: 4px solid #040221">Text here</div>
CSS codes
<p style="color:#040221">Text here</p>
<div style="background-color:#040221">Text here</div>
<div style="border: 4px solid #040221">Text here</div>
#040221 Color on white background
This is how a font and box color of #040221 will look
on a white background.
#040221 Color on black background
This is how a font and box color of #040221 hex color will look
on a black background.