In RGB color space, #042ab4 hex color has a red value of 4, a green value of 42 and a blue value of 180.
In CMYK color space (used in color printing), #042ab4 hex color is composed of 97.78% cyan, 76.67% magenta, 0% yellow and 29.41% black.
#042ab4 color has a hue of 227 degrees, a saturation of 95.65% and a lightness of 36.1%.
#042ab4 hex color contains mainly BLUE.
The closest web safe color of #042ab4 is #0033cc
#042ab4 hex color has a decimal value of 273076.
HEX | 042ab4 | #042ab4 |
---|---|---|
RGB | 4, 42, 180 | rgb(4, 42, 180) |
RGB Percent | 1.57, 16.47, 70.59 | rgb(1.57, 16.47, 70.59) |
CMYK | 98, 77, 0, 29 | |
HSL | 227°, 95.65, 36.1 | hsl(227, 95.65%, 36.1%) |
HSV | 227°, 97.8, 70.6 |
XYZ | 9.116, 4.977, 43.66 |
---|---|
Hunter Lab | 22.309, 33.898, -100.417 |
CIE-LAB | 26.669, 44.953, -73.914 |
CIE-LCH | 26.669, 86.51, 301.307 |
CIE-LUV | 97.78, 76.67, 0, 29.41 |
Web Safe | 0033cc |
RGB percent of color #042ab4
CMYK percent of color #042ab4
Text with hexadecimal color #042ab4
This text has a font color of #042ab4
<p style="color:#042ab4">Text here</p>
#042ab4 Background Color
This box has a background color of #042ab4
<div style="background-color:#042ab4">Text here</div>
#042ab4 Border Color
This box has a border color of #042ab4
<div style="border: 4px solid #042ab4">Text here</div>
CSS codes
<p style="color:#042ab4">Text here</p>
<div style="background-color:#042ab4">Text here</div>
<div style="border: 4px solid #042ab4">Text here</div>
#042ab4 Color on white background
This is how a font and box color of #042ab4 will look
on a white background.
#042ab4 Color on black background
This is how a font and box color of #042ab4 hex color will look
on a black background.