In RGB color space, #042ea2 hex color has a red value of 4, a green value of 46 and a blue value of 162.
In CMYK color space (used in color printing), #042ea2 hex color is composed of 97.53% cyan, 71.6% magenta, 0% yellow and 36.47% black.
#042ea2 color has a hue of 224.1 degrees, a saturation of 95.18% and a lightness of 32.5%.
#042ea2 hex color contains mainly BLUE.
The closest web safe color of #042ea2 is #003399
#042ea2 hex color has a decimal value of 274082.
HEX | 042ea2 | #042ea2 |
---|---|---|
RGB | 4, 46, 162 | rgb(4, 46, 162) |
RGB Percent | 1.57, 18.04, 63.53 | rgb(1.57, 18.04, 63.53) |
CMYK | 98, 72, 0, 36 | |
HSL | 224.1°, 95.18, 32.5 | hsl(224.1, 95.18%, 32.5%) |
HSV | 224.1°, 97.5, 63.5 |
XYZ | 7.549, 4.588, 34.67 |
---|---|
Hunter Lab | 21.42, 25.425, -80.974 |
CIE-LAB | 25.527, 35.929, -64.973 |
CIE-LCH | 25.527, 74.245, 298.942 |
CIE-LUV | 97.53, 71.6, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #042ea2
CMYK percent of color #042ea2
Text with hexadecimal color #042ea2
This text has a font color of #042ea2
<p style="color:#042ea2">Text here</p>
#042ea2 Background Color
This box has a background color of #042ea2
<div style="background-color:#042ea2">Text here</div>
#042ea2 Border Color
This box has a border color of #042ea2
<div style="border: 4px solid #042ea2">Text here</div>
CSS codes
<p style="color:#042ea2">Text here</p>
<div style="background-color:#042ea2">Text here</div>
<div style="border: 4px solid #042ea2">Text here</div>
#042ea2 Color on white background
This is how a font and box color of #042ea2 will look
on a white background.
#042ea2 Color on black background
This is how a font and box color of #042ea2 hex color will look
on a black background.