In RGB color space, #042ec7 hex color has a red value of 4, a green value of 46 and a blue value of 199.
In CMYK color space (used in color printing), #042ec7 hex color is composed of 97.99% cyan, 76.88% magenta, 0% yellow and 21.96% black.
#042ec7 color has a hue of 227.1 degrees, a saturation of 96.06% and a lightness of 39.8%.
#042ec7 hex color contains mainly BLUE.
The closest web safe color of #042ec7 is #0033cc
#042ec7 hex color has a decimal value of 274119.
HEX | 042ec7 | #042ec7 |
---|---|---|
RGB | 4, 46, 199 | rgb(4, 46, 199) |
RGB Percent | 1.57, 18.04, 78.04 | rgb(1.57, 18.04, 78.04) |
CMYK | 98, 77, 0, 22 | |
HSL | 227.1°, 96.06, 39.8 | hsl(227.1, 96.06%, 39.8%) |
HSV | 227.1°, 98, 78 |
XYZ | 11.336, 6.103, 54.613 |
---|---|
Hunter Lab | 24.704, 38.676, -113.778 |
CIE-LAB | 29.671, 49.261, -80.164 |
CIE-LCH | 29.671, 94.09, 301.571 |
CIE-LUV | 97.99, 76.88, 0, 21.96 |
Web Safe | 0033cc |
RGB percent of color #042ec7
CMYK percent of color #042ec7
Text with hexadecimal color #042ec7
This text has a font color of #042ec7
<p style="color:#042ec7">Text here</p>
#042ec7 Background Color
This box has a background color of #042ec7
<div style="background-color:#042ec7">Text here</div>
#042ec7 Border Color
This box has a border color of #042ec7
<div style="border: 4px solid #042ec7">Text here</div>
CSS codes
<p style="color:#042ec7">Text here</p>
<div style="background-color:#042ec7">Text here</div>
<div style="border: 4px solid #042ec7">Text here</div>
#042ec7 Color on white background
This is how a font and box color of #042ec7 will look
on a white background.
#042ec7 Color on black background
This is how a font and box color of #042ec7 hex color will look
on a black background.