In RGB color space, #042142 hex color has a red value of 4, a green value of 33 and a blue value of 66.
In CMYK color space (used in color printing), #042142 hex color is composed of 93.94% cyan, 50% magenta, 0% yellow and 74.12% black.
#042142 color has a hue of 211.9 degrees, a saturation of 88.57% and a lightness of 13.7%.
#042142 hex color contains mainly BLUE.
The closest web safe color of #042142 is #003333
#042142 hex color has a decimal value of 270658.
HEX | 042142 | #042142 |
---|---|---|
RGB | 4, 33, 66 | rgb(4, 33, 66) |
RGB Percent | 1.57, 12.94, 25.88 | rgb(1.57, 12.94, 25.88) |
CMYK | 94, 50, 0, 74 | |
HSL | 211.9°, 88.57, 13.7 | hsl(211.9, 88.57%, 13.7%) |
HSV | 211.9°, 93.9, 25.9 |
XYZ | 1.577, 1.507, 5.362 |
---|---|
Hunter Lab | 12.276, 1.448, -17.304 |
CIE-LAB | 12.652, 4.025, -23.907 |
CIE-LCH | 12.652, 24.243, 279.557 |
CIE-LUV | 93.94, 50, 0, 74.12 |
Web Safe | 003333 |
RGB percent of color #042142
CMYK percent of color #042142
Text with hexadecimal color #042142
This text has a font color of #042142
<p style="color:#042142">Text here</p>
#042142 Background Color
This box has a background color of #042142
<div style="background-color:#042142">Text here</div>
#042142 Border Color
This box has a border color of #042142
<div style="border: 4px solid #042142">Text here</div>
CSS codes
<p style="color:#042142">Text here</p>
<div style="background-color:#042142">Text here</div>
<div style="border: 4px solid #042142">Text here</div>
#042142 Color on white background
This is how a font and box color of #042142 will look
on a white background.
#042142 Color on black background
This is how a font and box color of #042142 hex color will look
on a black background.