In RGB color space, #042ac2 hex color has a red value of 4, a green value of 42 and a blue value of 194.
In CMYK color space (used in color printing), #042ac2 hex color is composed of 97.94% cyan, 78.35% magenta, 0% yellow and 23.92% black.
#042ac2 color has a hue of 228 degrees, a saturation of 95.96% and a lightness of 38.8%.
#042ac2 hex color contains mainly BLUE.
The closest web safe color of #042ac2 is #0033cc
#042ac2 hex color has a decimal value of 273090.
HEX | 042ac2 | #042ac2 |
---|---|---|
RGB | 4, 42, 194 | rgb(4, 42, 194) |
RGB Percent | 1.57, 16.47, 76.08 | rgb(1.57, 16.47, 76.08) |
CMYK | 98, 78, 0, 24 | |
HSL | 228°, 95.96, 38.8 | hsl(228, 95.96%, 38.8%) |
HSV | 228°, 97.9, 76.1 |
XYZ | 10.616, 5.577, 51.556 |
---|---|
Hunter Lab | 23.616, 38.914, -112.907 |
CIE-LAB | 28.319, 49.762, -79.472 |
CIE-LCH | 28.319, 93.766, 302.053 |
CIE-LUV | 97.94, 78.35, 0, 23.92 |
Web Safe | 0033cc |
RGB percent of color #042ac2
CMYK percent of color #042ac2
Text with hexadecimal color #042ac2
This text has a font color of #042ac2
<p style="color:#042ac2">Text here</p>
#042ac2 Background Color
This box has a background color of #042ac2
<div style="background-color:#042ac2">Text here</div>
#042ac2 Border Color
This box has a border color of #042ac2
<div style="border: 4px solid #042ac2">Text here</div>
CSS codes
<p style="color:#042ac2">Text here</p>
<div style="background-color:#042ac2">Text here</div>
<div style="border: 4px solid #042ac2">Text here</div>
#042ac2 Color on white background
This is how a font and box color of #042ac2 will look
on a white background.
#042ac2 Color on black background
This is how a font and box color of #042ac2 hex color will look
on a black background.