In RGB color space, #042ec3 hex color has a red value of 4, a green value of 46 and a blue value of 195.
In CMYK color space (used in color printing), #042ec3 hex color is composed of 97.95% cyan, 76.41% magenta, 0% yellow and 23.53% black.
#042ec3 color has a hue of 226.8 degrees, a saturation of 95.98% and a lightness of 39%.
#042ec3 hex color contains mainly BLUE.
The closest web safe color of #042ec3 is #0033cc
#042ec3 hex color has a decimal value of 274115.
HEX | 042ec3 | #042ec3 |
---|---|---|
RGB | 4, 46, 195 | rgb(4, 46, 195) |
RGB Percent | 1.57, 18.04, 76.47 | rgb(1.57, 18.04, 76.47) |
CMYK | 98, 76, 0, 24 | |
HSL | 226.8°, 95.98, 39 | hsl(226.8, 95.98%, 39%) |
HSV | 226.8°, 97.9, 76.5 |
XYZ | 10.877, 5.92, 52.199 |
---|---|
Hunter Lab | 24.331, 37.218, -110.167 |
CIE-LAB | 29.21, 47.881, -78.582 |
CIE-LCH | 29.21, 92.02, 301.354 |
CIE-LUV | 97.95, 76.41, 0, 23.53 |
Web Safe | 0033cc |
RGB percent of color #042ec3
CMYK percent of color #042ec3
Text with hexadecimal color #042ec3
This text has a font color of #042ec3
<p style="color:#042ec3">Text here</p>
#042ec3 Background Color
This box has a background color of #042ec3
<div style="background-color:#042ec3">Text here</div>
#042ec3 Border Color
This box has a border color of #042ec3
<div style="border: 4px solid #042ec3">Text here</div>
CSS codes
<p style="color:#042ec3">Text here</p>
<div style="background-color:#042ec3">Text here</div>
<div style="border: 4px solid #042ec3">Text here</div>
#042ec3 Color on white background
This is how a font and box color of #042ec3 will look
on a white background.
#042ec3 Color on black background
This is how a font and box color of #042ec3 hex color will look
on a black background.