In RGB color space, #042ecc hex color has a red value of 4, a green value of 46 and a blue value of 204.
In CMYK color space (used in color printing), #042ecc hex color is composed of 98.04% cyan, 77.45% magenta, 0% yellow and 20% black.
#042ecc color has a hue of 227.4 degrees, a saturation of 96.15% and a lightness of 40.8%.
#042ecc hex color contains mainly BLUE.
The closest web safe color of #042ecc is #0033cc
#042ecc hex color has a decimal value of 274124.
HEX | 042ecc | #042ecc |
---|---|---|
RGB | 4, 46, 204 | rgb(4, 46, 204) |
RGB Percent | 1.57, 18.04, 80 | rgb(1.57, 18.04, 80) |
CMYK | 98, 77, 0, 20 | |
HSL | 227.4°, 96.15, 40.8 | hsl(227.4, 96.15%, 40.8%) |
HSV | 227.4°, 98, 80 |
XYZ | 11.926, 6.339, 57.722 |
---|---|
Hunter Lab | 25.177, 40.491, -118.305 |
CIE-LAB | 30.252, 50.954, -82.122 |
CIE-LCH | 30.252, 96.645, 301.818 |
CIE-LUV | 98.04, 77.45, 0, 20 |
Web Safe | 0033cc |
RGB percent of color #042ecc
CMYK percent of color #042ecc
Text with hexadecimal color #042ecc
This text has a font color of #042ecc
<p style="color:#042ecc">Text here</p>
#042ecc Background Color
This box has a background color of #042ecc
<div style="background-color:#042ecc">Text here</div>
#042ecc Border Color
This box has a border color of #042ecc
<div style="border: 4px solid #042ecc">Text here</div>
CSS codes
<p style="color:#042ecc">Text here</p>
<div style="background-color:#042ecc">Text here</div>
<div style="border: 4px solid #042ecc">Text here</div>
#042ecc Color on white background
This is how a font and box color of #042ecc will look
on a white background.
#042ecc Color on black background
This is how a font and box color of #042ecc hex color will look
on a black background.