In RGB color space, #042042 hex color has a red value of 4, a green value of 32 and a blue value of 66.
In CMYK color space (used in color printing), #042042 hex color is composed of 93.94% cyan, 51.52% magenta, 0% yellow and 74.12% black.
#042042 color has a hue of 212.9 degrees, a saturation of 88.57% and a lightness of 13.7%.
#042042 hex color contains mainly BLUE.
The closest web safe color of #042042 is #003333
#042042 hex color has a decimal value of 270402.
HEX | 042042 | #042042 |
---|---|---|
RGB | 4, 32, 66 | rgb(4, 32, 66) |
RGB Percent | 1.57, 12.55, 25.88 | rgb(1.57, 12.55, 25.88) |
CMYK | 94, 52, 0, 74 | |
HSL | 212.9°, 88.57, 13.7 | hsl(212.9, 88.57%, 13.7%) |
HSV | 212.9°, 93.9, 25.9 |
XYZ | 1.55, 1.452, 5.353 |
---|---|
Hunter Lab | 12.05, 1.873, -17.904 |
CIE-LAB | 12.3, 4.814, -24.475 |
CIE-LCH | 12.3, 24.944, 281.127 |
CIE-LUV | 93.94, 51.52, 0, 74.12 |
Web Safe | 003333 |
RGB percent of color #042042
CMYK percent of color #042042
Text with hexadecimal color #042042
This text has a font color of #042042
<p style="color:#042042">Text here</p>
#042042 Background Color
This box has a background color of #042042
<div style="background-color:#042042">Text here</div>
#042042 Border Color
This box has a border color of #042042
<div style="border: 4px solid #042042">Text here</div>
CSS codes
<p style="color:#042042">Text here</p>
<div style="background-color:#042042">Text here</div>
<div style="border: 4px solid #042042">Text here</div>
#042042 Color on white background
This is how a font and box color of #042042 will look
on a white background.
#042042 Color on black background
This is how a font and box color of #042042 hex color will look
on a black background.