In RGB color space, #040042 hex color has a red value of 4, a green value of 0 and a blue value of 66.
In CMYK color space (used in color printing), #040042 hex color is composed of 93.94% cyan, 100% magenta, 0% yellow and 74.12% black.
#040042 color has a hue of 243.6 degrees, a saturation of 100% and a lightness of 12.9%.
#040042 hex color contains mainly BLUE.
The closest web safe color of #040042 is #000033
#040042 hex color has a decimal value of 262210.
HEX | 040042 | #040042 |
---|---|---|
RGB | 4, 0, 66 | rgb(4, 0, 66) |
RGB Percent | 1.57, 0, 25.88 | rgb(1.57, 0, 25.88) |
CMYK | 94, 100, 0, 74 | |
HSL | 243.6°, 100, 12.9 | hsl(243.6, 100%, 12.9%) |
HSV | 243.6°, 100, 25.9 |
XYZ | 1.033, 0.419, 5.181 |
---|---|
Hunter Lab | 6.473, 17.158, -42.925 |
CIE-LAB | 3.785, 25.474, -38.362 |
CIE-LCH | 3.785, 46.05, 303.586 |
CIE-LUV | 93.94, 100, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #040042
CMYK percent of color #040042
Text with hexadecimal color #040042
This text has a font color of #040042
<p style="color:#040042">Text here</p>
#040042 Background Color
This box has a background color of #040042
<div style="background-color:#040042">Text here</div>
#040042 Border Color
This box has a border color of #040042
<div style="border: 4px solid #040042">Text here</div>
CSS codes
<p style="color:#040042">Text here</p>
<div style="background-color:#040042">Text here</div>
<div style="border: 4px solid #040042">Text here</div>
#040042 Color on white background
This is how a font and box color of #040042 will look
on a white background.
#040042 Color on black background
This is how a font and box color of #040042 hex color will look
on a black background.