In RGB color space, #042140 hex color has a red value of 4, a green value of 33 and a blue value of 64.
In CMYK color space (used in color printing), #042140 hex color is composed of 93.75% cyan, 48.44% magenta, 0% yellow and 74.9% black.
#042140 color has a hue of 211 degrees, a saturation of 88.24% and a lightness of 13.3%.
#042140 hex color contains mainly BLUE.
The closest web safe color of #042140 is #003333
#042140 hex color has a decimal value of 270656.
HEX | 042140 | #042140 |
---|---|---|
RGB | 4, 33, 64 | rgb(4, 33, 64) |
RGB Percent | 1.57, 12.94, 25.1 | rgb(1.57, 12.94, 25.1) |
CMYK | 94, 48, 0, 75 | |
HSL | 211°, 88.24, 13.3 | hsl(211, 88.24%, 13.3%) |
HSV | 211°, 93.8, 25.1 |
XYZ | 1.519, 1.484, 5.057 |
---|---|
Hunter Lab | 12.182, 0.939, -16.085 |
CIE-LAB | 12.506, 3.073, -22.743 |
CIE-LCH | 12.506, 22.95, 277.695 |
CIE-LUV | 93.75, 48.44, 0, 74.9 |
Web Safe | 003333 |
RGB percent of color #042140
CMYK percent of color #042140
Text with hexadecimal color #042140
This text has a font color of #042140
<p style="color:#042140">Text here</p>
#042140 Background Color
This box has a background color of #042140
<div style="background-color:#042140">Text here</div>
#042140 Border Color
This box has a border color of #042140
<div style="border: 4px solid #042140">Text here</div>
CSS codes
<p style="color:#042140">Text here</p>
<div style="background-color:#042140">Text here</div>
<div style="border: 4px solid #042140">Text here</div>
#042140 Color on white background
This is how a font and box color of #042140 will look
on a white background.
#042140 Color on black background
This is how a font and box color of #042140 hex color will look
on a black background.