In RGB color space, #042842 hex color has a red value of 4, a green value of 40 and a blue value of 66.
In CMYK color space (used in color printing), #042842 hex color is composed of 93.94% cyan, 39.39% magenta, 0% yellow and 74.12% black.
#042842 color has a hue of 205.2 degrees, a saturation of 88.57% and a lightness of 13.7%.
#042842 hex color contains mainly BLUE.
The closest web safe color of #042842 is #003333
#042842 hex color has a decimal value of 272450.
HEX | 042842 | #042842 |
---|---|---|
RGB | 4, 40, 66 | rgb(4, 40, 66) |
RGB Percent | 1.57, 15.69, 25.88 | rgb(1.57, 15.69, 25.88) |
CMYK | 94, 39, 0, 74 | |
HSL | 205.2°, 88.57, 13.7 | hsl(205.2, 88.57%, 13.7%) |
HSV | 205.2°, 93.9, 25.9 |
XYZ | 1.792, 1.937, 5.434 |
---|---|
Hunter Lab | 13.918, -1.373, -13.407 |
CIE-LAB | 15.153, -1.204, -19.923 |
CIE-LCH | 15.153, 19.959, 266.542 |
CIE-LUV | 93.94, 39.39, 0, 74.12 |
Web Safe | 003333 |
RGB percent of color #042842
CMYK percent of color #042842
Text with hexadecimal color #042842
This text has a font color of #042842
<p style="color:#042842">Text here</p>
#042842 Background Color
This box has a background color of #042842
<div style="background-color:#042842">Text here</div>
#042842 Border Color
This box has a border color of #042842
<div style="border: 4px solid #042842">Text here</div>
CSS codes
<p style="color:#042842">Text here</p>
<div style="background-color:#042842">Text here</div>
<div style="border: 4px solid #042842">Text here</div>
#042842 Color on white background
This is how a font and box color of #042842 will look
on a white background.
#042842 Color on black background
This is how a font and box color of #042842 hex color will look
on a black background.