In RGB color space, #042040 hex color has a red value of 4, a green value of 32 and a blue value of 64.
In CMYK color space (used in color printing), #042040 hex color is composed of 93.75% cyan, 50% magenta, 0% yellow and 74.9% black.
#042040 color has a hue of 212 degrees, a saturation of 88.24% and a lightness of 13.3%.
#042040 hex color contains mainly BLUE.
The closest web safe color of #042040 is #003333
#042040 hex color has a decimal value of 270400.
HEX | 042040 | #042040 |
---|---|---|
RGB | 4, 32, 64 | rgb(4, 32, 64) |
RGB Percent | 1.57, 12.55, 25.1 | rgb(1.57, 12.55, 25.1) |
CMYK | 94, 50, 0, 75 | |
HSL | 212°, 88.24, 13.3 | hsl(212, 88.24%, 13.3%) |
HSV | 212°, 93.8, 25.1 |
XYZ | 1.492, 1.429, 5.048 |
---|---|
Hunter Lab | 11.954, 1.359, -16.669 |
CIE-LAB | 12.149, 3.86, -23.315 |
CIE-LCH | 12.149, 23.632, 279.401 |
CIE-LUV | 93.75, 50, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #042040
CMYK percent of color #042040
Text with hexadecimal color #042040
This text has a font color of #042040
<p style="color:#042040">Text here</p>
#042040 Background Color
This box has a background color of #042040
<div style="background-color:#042040">Text here</div>
#042040 Border Color
This box has a border color of #042040
<div style="border: 4px solid #042040">Text here</div>
CSS codes
<p style="color:#042040">Text here</p>
<div style="background-color:#042040">Text here</div>
<div style="border: 4px solid #042040">Text here</div>
#042040 Color on white background
This is how a font and box color of #042040 will look
on a white background.
#042040 Color on black background
This is how a font and box color of #042040 hex color will look
on a black background.