In RGB color space, #040020 hex color has a red value of 4, a green value of 0 and a blue value of 32.
In CMYK color space (used in color printing), #040020 hex color is composed of 87.5% cyan, 100% magenta, 0% yellow and 87.45% black.
#040020 color has a hue of 247.5 degrees, a saturation of 100% and a lightness of 6.3%.
#040020 hex color contains mainly BLUE.
The closest web safe color of #040020 is #000033
#040020 hex color has a decimal value of 262176.
HEX | 040020 | #040020 |
---|---|---|
RGB | 4, 0, 32 | rgb(4, 0, 32) |
RGB Percent | 1.57, 0, 12.55 | rgb(1.57, 0, 12.55) |
CMYK | 88, 100, 0, 87 | |
HSL | 247.5°, 100, 6.3 | hsl(247.5, 100%, 6.3%) |
HSV | 247.5°, 100, 12.5 |
XYZ | 0.311, 0.13, 1.375 |
---|---|
Hunter Lab | 3.606, 9.087, -20.087 |
CIE-LAB | 1.174, 7.678, -16.963 |
CIE-LCH | 1.174, 18.62, 294.353 |
CIE-LUV | 87.5, 100, 0, 87.45 |
Web Safe | 000033 |
RGB percent of color #040020
CMYK percent of color #040020
Text with hexadecimal color #040020
This text has a font color of #040020
<p style="color:#040020">Text here</p>
#040020 Background Color
This box has a background color of #040020
<div style="background-color:#040020">Text here</div>
#040020 Border Color
This box has a border color of #040020
<div style="border: 4px solid #040020">Text here</div>
CSS codes
<p style="color:#040020">Text here</p>
<div style="background-color:#040020">Text here</div>
<div style="border: 4px solid #040020">Text here</div>
#040020 Color on white background
This is how a font and box color of #040020 will look
on a white background.
#040020 Color on black background
This is how a font and box color of #040020 hex color will look
on a black background.