In RGB color space, #042240 hex color has a red value of 4, a green value of 34 and a blue value of 64.
In CMYK color space (used in color printing), #042240 hex color is composed of 93.75% cyan, 46.88% magenta, 0% yellow and 74.9% black.
#042240 color has a hue of 210 degrees, a saturation of 88.24% and a lightness of 13.3%.
#042240 hex color contains mainly BLUE.
The closest web safe color of #042240 is #003333
#042240 hex color has a decimal value of 270912.
HEX | 042240 | #042240 |
---|---|---|
RGB | 4, 34, 64 | rgb(4, 34, 64) |
RGB Percent | 1.57, 13.33, 25.1 | rgb(1.57, 13.33, 25.1) |
CMYK | 94, 47, 0, 75 | |
HSL | 210°, 88.24, 13.3 | hsl(210, 88.24%, 13.3%) |
HSV | 210°, 93.8, 25.1 |
XYZ | 1.548, 1.54, 5.066 |
---|---|
Hunter Lab | 12.41, 0.549, -15.517 |
CIE-LAB | 12.86, 2.343, -22.175 |
CIE-LCH | 12.86, 22.298, 276.031 |
CIE-LUV | 93.75, 46.88, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #042240
CMYK percent of color #042240
Text with hexadecimal color #042240
This text has a font color of #042240
<p style="color:#042240">Text here</p>
#042240 Background Color
This box has a background color of #042240
<div style="background-color:#042240">Text here</div>
#042240 Border Color
This box has a border color of #042240
<div style="border: 4px solid #042240">Text here</div>
CSS codes
<p style="color:#042240">Text here</p>
<div style="background-color:#042240">Text here</div>
<div style="border: 4px solid #042240">Text here</div>
#042240 Color on white background
This is how a font and box color of #042240 will look
on a white background.
#042240 Color on black background
This is how a font and box color of #042240 hex color will look
on a black background.