In RGB color space, #042838 hex color has a red value of 4, a green value of 40 and a blue value of 56.
In CMYK color space (used in color printing), #042838 hex color is composed of 92.86% cyan, 28.57% magenta, 0% yellow and 78.04% black.
#042838 color has a hue of 198.5 degrees, a saturation of 86.67% and a lightness of 11.8%.
#042838 hex color contains mainly BLUE.
The closest web safe color of #042838 is #003333
#042838 hex color has a decimal value of 272440.
HEX | 042838 | #042838 |
---|---|---|
RGB | 4, 40, 56 | rgb(4, 40, 56) |
RGB Percent | 1.57, 15.69, 21.96 | rgb(1.57, 15.69, 21.96) |
CMYK | 93, 29, 0, 78 | |
HSL | 198.5°, 86.67, 11.8 | hsl(198.5, 86.67%, 11.8%) |
HSV | 198.5°, 92.9, 22 |
XYZ | 1.523, 1.829, 4.014 |
---|---|
Hunter Lab | 13.524, -3.565, -8.131 |
CIE-LAB | 14.563, -5.683, -13.869 |
CIE-LCH | 14.563, 14.988, 247.718 |
CIE-LUV | 92.86, 28.57, 0, 78.04 |
Web Safe | 003333 |
RGB percent of color #042838
CMYK percent of color #042838
Text with hexadecimal color #042838
This text has a font color of #042838
<p style="color:#042838">Text here</p>
#042838 Background Color
This box has a background color of #042838
<div style="background-color:#042838">Text here</div>
#042838 Border Color
This box has a border color of #042838
<div style="border: 4px solid #042838">Text here</div>
CSS codes
<p style="color:#042838">Text here</p>
<div style="background-color:#042838">Text here</div>
<div style="border: 4px solid #042838">Text here</div>
#042838 Color on white background
This is how a font and box color of #042838 will look
on a white background.
#042838 Color on black background
This is how a font and box color of #042838 hex color will look
on a black background.