In RGB color space, #040220 hex color has a red value of 4, a green value of 2 and a blue value of 32.
In CMYK color space (used in color printing), #040220 hex color is composed of 87.5% cyan, 93.75% magenta, 0% yellow and 87.45% black.
#040220 color has a hue of 244 degrees, a saturation of 88.24% and a lightness of 6.7%.
#040220 hex color contains mainly BLUE.
The closest web safe color of #040220 is #000033
#040220 hex color has a decimal value of 262688.
HEX | 040220 | #040220 |
---|---|---|
RGB | 4, 2, 32 | rgb(4, 2, 32) |
RGB Percent | 1.57, 0.78, 12.55 | rgb(1.57, 0.78, 12.55) |
CMYK | 88, 94, 0, 87 | |
HSL | 244°, 88.24, 6.7 | hsl(244, 88.24%, 6.7%) |
HSV | 244°, 93.8, 12.5 |
XYZ | 0.332, 0.174, 1.382 |
---|---|
Hunter Lab | 4.171, 6.907, -16.723 |
CIE-LAB | 1.572, 6.825, -16.357 |
CIE-LCH | 1.572, 17.724, 292.648 |
CIE-LUV | 87.5, 93.75, 0, 87.45 |
Web Safe | 000033 |
RGB percent of color #040220
CMYK percent of color #040220
Text with hexadecimal color #040220
This text has a font color of #040220
<p style="color:#040220">Text here</p>
#040220 Background Color
This box has a background color of #040220
<div style="background-color:#040220">Text here</div>
#040220 Border Color
This box has a border color of #040220
<div style="border: 4px solid #040220">Text here</div>
CSS codes
<p style="color:#040220">Text here</p>
<div style="background-color:#040220">Text here</div>
<div style="border: 4px solid #040220">Text here</div>
#040220 Color on white background
This is how a font and box color of #040220 will look
on a white background.
#040220 Color on black background
This is how a font and box color of #040220 hex color will look
on a black background.