In RGB color space, #042fa2 hex color has a red value of 4, a green value of 47 and a blue value of 162.
In CMYK color space (used in color printing), #042fa2 hex color is composed of 97.53% cyan, 70.99% magenta, 0% yellow and 36.47% black.
#042fa2 color has a hue of 223.7 degrees, a saturation of 95.18% and a lightness of 32.5%.
#042fa2 hex color contains mainly BLUE.
The closest web safe color of #042fa2 is #003399
#042fa2 hex color has a decimal value of 274338.
HEX | 042fa2 | #042fa2 |
---|---|---|
RGB | 4, 47, 162 | rgb(4, 47, 162) |
RGB Percent | 1.57, 18.43, 63.53 | rgb(1.57, 18.43, 63.53) |
CMYK | 98, 71, 0, 36 | |
HSL | 223.7°, 95.18, 32.5 | hsl(223.7, 95.18%, 32.5%) |
HSV | 223.7°, 97.5, 63.5 |
XYZ | 7.588, 4.667, 34.683 |
---|---|
Hunter Lab | 21.603, 24.891, -80.065 |
CIE-LAB | 25.764, 35.277, -64.582 |
CIE-LCH | 25.764, 73.589, 298.645 |
CIE-LUV | 97.53, 70.99, 0, 36.47 |
Web Safe | 003399 |
RGB percent of color #042fa2
CMYK percent of color #042fa2
Text with hexadecimal color #042fa2
This text has a font color of #042fa2
<p style="color:#042fa2">Text here</p>
#042fa2 Background Color
This box has a background color of #042fa2
<div style="background-color:#042fa2">Text here</div>
#042fa2 Border Color
This box has a border color of #042fa2
<div style="border: 4px solid #042fa2">Text here</div>
CSS codes
<p style="color:#042fa2">Text here</p>
<div style="background-color:#042fa2">Text here</div>
<div style="border: 4px solid #042fa2">Text here</div>
#042fa2 Color on white background
This is how a font and box color of #042fa2 will look
on a white background.
#042fa2 Color on black background
This is how a font and box color of #042fa2 hex color will look
on a black background.