In RGB color space, #042ab6 hex color has a red value of 4, a green value of 42 and a blue value of 182.
In CMYK color space (used in color printing), #042ab6 hex color is composed of 97.8% cyan, 76.92% magenta, 0% yellow and 28.63% black.
#042ab6 color has a hue of 227.2 degrees, a saturation of 95.7% and a lightness of 36.5%.
#042ab6 hex color contains mainly BLUE.
The closest web safe color of #042ab6 is #0033cc
#042ab6 hex color has a decimal value of 273078.
HEX | 042ab6 | #042ab6 |
---|---|---|
RGB | 4, 42, 182 | rgb(4, 42, 182) |
RGB Percent | 1.57, 16.47, 71.37 | rgb(1.57, 16.47, 71.37) |
CMYK | 98, 77, 0, 29 | |
HSL | 227.2°, 95.7, 36.5 | hsl(227.2, 95.7%, 36.5%) |
HSV | 227.2°, 97.8, 71.4 |
XYZ | 9.322, 5.059, 44.741 |
---|---|
Hunter Lab | 22.492, 34.619, -102.194 |
CIE-LAB | 26.902, 45.66, -74.72 |
CIE-LCH | 26.902, 87.567, 301.428 |
CIE-LUV | 97.8, 76.92, 0, 28.63 |
Web Safe | 0033cc |
RGB percent of color #042ab6
CMYK percent of color #042ab6
Text with hexadecimal color #042ab6
This text has a font color of #042ab6
<p style="color:#042ab6">Text here</p>
#042ab6 Background Color
This box has a background color of #042ab6
<div style="background-color:#042ab6">Text here</div>
#042ab6 Border Color
This box has a border color of #042ab6
<div style="border: 4px solid #042ab6">Text here</div>
CSS codes
<p style="color:#042ab6">Text here</p>
<div style="background-color:#042ab6">Text here</div>
<div style="border: 4px solid #042ab6">Text here</div>
#042ab6 Color on white background
This is how a font and box color of #042ab6 will look
on a white background.
#042ab6 Color on black background
This is how a font and box color of #042ab6 hex color will look
on a black background.