In RGB color space, #042840 hex color has a red value of 4, a green value of 40 and a blue value of 64.
In CMYK color space (used in color printing), #042840 hex color is composed of 93.75% cyan, 37.5% magenta, 0% yellow and 74.9% black.
#042840 color has a hue of 204 degrees, a saturation of 88.24% and a lightness of 13.3%.
#042840 hex color contains mainly BLUE.
The closest web safe color of #042840 is #003333
#042840 hex color has a decimal value of 272448.
HEX | 042840 | #042840 |
---|---|---|
RGB | 4, 40, 64 | rgb(4, 40, 64) |
RGB Percent | 1.57, 15.69, 25.1 | rgb(1.57, 15.69, 25.1) |
CMYK | 94, 38, 0, 75 | |
HSL | 204°, 88.24, 13.3 | hsl(204, 88.24%, 13.3%) |
HSV | 204°, 93.8, 25.1 |
XYZ | 1.734, 1.914, 5.128 |
---|---|
Hunter Lab | 13.835, -1.838, -12.292 |
CIE-LAB | 15.029, -2.121, -18.727 |
CIE-LCH | 15.029, 18.847, 263.538 |
CIE-LUV | 93.75, 37.5, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #042840
CMYK percent of color #042840
Text with hexadecimal color #042840
This text has a font color of #042840
<p style="color:#042840">Text here</p>
#042840 Background Color
This box has a background color of #042840
<div style="background-color:#042840">Text here</div>
#042840 Border Color
This box has a border color of #042840
<div style="border: 4px solid #042840">Text here</div>
CSS codes
<p style="color:#042840">Text here</p>
<div style="background-color:#042840">Text here</div>
<div style="border: 4px solid #042840">Text here</div>
#042840 Color on white background
This is how a font and box color of #042840 will look
on a white background.
#042840 Color on black background
This is how a font and box color of #042840 hex color will look
on a black background.