In RGB color space, #042ec8 hex color has a red value of 4, a green value of 46 and a blue value of 200.
In CMYK color space (used in color printing), #042ec8 hex color is composed of 98% cyan, 77% magenta, 0% yellow and 21.57% black.
#042ec8 color has a hue of 227.1 degrees, a saturation of 96.08% and a lightness of 40%.
#042ec8 hex color contains mainly BLUE.
The closest web safe color of #042ec8 is #0033cc
#042ec8 hex color has a decimal value of 274120.
HEX | 042ec8 | #042ec8 |
---|---|---|
RGB | 4, 46, 200 | rgb(4, 46, 200) |
RGB Percent | 1.57, 18.04, 78.43 | rgb(1.57, 18.04, 78.43) |
CMYK | 98, 77, 0, 22 | |
HSL | 227.1°, 96.08, 40 | hsl(227.1, 96.08%, 40%) |
HSV | 227.1°, 98, 78.4 |
XYZ | 11.452, 6.15, 55.227 |
---|---|
Hunter Lab | 24.799, 39.031, -114.677 |
CIE-LAB | 29.788, 49.594, -80.555 |
CIE-LCH | 29.788, 94.597, 301.619 |
CIE-LUV | 98, 77, 0, 21.57 |
Web Safe | 0033cc |
RGB percent of color #042ec8
CMYK percent of color #042ec8
Text with hexadecimal color #042ec8
This text has a font color of #042ec8
<p style="color:#042ec8">Text here</p>
#042ec8 Background Color
This box has a background color of #042ec8
<div style="background-color:#042ec8">Text here</div>
#042ec8 Border Color
This box has a border color of #042ec8
<div style="border: 4px solid #042ec8">Text here</div>
CSS codes
<p style="color:#042ec8">Text here</p>
<div style="background-color:#042ec8">Text here</div>
<div style="border: 4px solid #042ec8">Text here</div>
#042ec8 Color on white background
This is how a font and box color of #042ec8 will look
on a white background.
#042ec8 Color on black background
This is how a font and box color of #042ec8 hex color will look
on a black background.