In RGB color space, #040942 hex color has a red value of 4, a green value of 9 and a blue value of 66.
In CMYK color space (used in color printing), #040942 hex color is composed of 93.94% cyan, 86.36% magenta, 0% yellow and 74.12% black.
#040942 color has a hue of 235.2 degrees, a saturation of 88.57% and a lightness of 13.7%.
#040942 hex color contains mainly BLUE.
The closest web safe color of #040942 is #000033
#040942 hex color has a decimal value of 264514.
HEX | 040942 | #040942 |
---|---|---|
RGB | 4, 9, 66 | rgb(4, 9, 66) |
RGB Percent | 1.57, 3.53, 25.88 | rgb(1.57, 3.53, 25.88) |
CMYK | 94, 86, 0, 74 | |
HSL | 235.2°, 88.57, 13.7 | hsl(235.2, 88.57%, 13.7%) |
HSV | 235.2°, 93.9, 25.9 |
XYZ | 1.131, 0.615, 5.213 |
---|---|
Hunter Lab | 7.842, 12.019, -33.923 |
CIE-LAB | 5.555, 21.24, -35.459 |
CIE-LCH | 5.555, 41.334, 300.922 |
CIE-LUV | 93.94, 86.36, 0, 74.12 |
Web Safe | 000033 |
RGB percent of color #040942
CMYK percent of color #040942
Text with hexadecimal color #040942
This text has a font color of #040942
<p style="color:#040942">Text here</p>
#040942 Background Color
This box has a background color of #040942
<div style="background-color:#040942">Text here</div>
#040942 Border Color
This box has a border color of #040942
<div style="border: 4px solid #040942">Text here</div>
CSS codes
<p style="color:#040942">Text here</p>
<div style="background-color:#040942">Text here</div>
<div style="border: 4px solid #040942">Text here</div>
#040942 Color on white background
This is how a font and box color of #040942 will look
on a white background.
#040942 Color on black background
This is how a font and box color of #040942 hex color will look
on a black background.