In RGB color space, #0042ec hex color has a red value of 0, a green value of 66 and a blue value of 236.
In CMYK color space (used in color printing), #0042ec hex color is composed of 100% cyan, 72.03% magenta, 0% yellow and 7.45% black.
#0042ec color has a hue of 223.2 degrees, a saturation of 100% and a lightness of 46.3%.
#0042ec hex color contains mainly BLUE.
The closest web safe color of #0042ec is #0033ff
#0042ec hex color has a decimal value of 17132.
HEX | 0042ec | #0042ec |
---|---|---|
RGB | 0, 66, 236 | rgb(0, 66, 236) |
RGB Percent | 0, 25.88, 92.55 | rgb(0, 25.88, 92.55) |
CMYK | 100, 72, 0, 7 | |
HSL | 223.2°, 100, 46.3 | hsl(223.2, 100%, 46.3%) |
HSV | 223.2°, 100, 92.5 |
XYZ | 17.089, 9.953, 80.377 |
---|---|
Hunter Lab | 31.548, 41.48, -128.972 |
CIE-LAB | 37.758, 50.488, -88.068 |
CIE-LCH | 37.758, 101.514, 299.825 |
CIE-LUV | 100, 72.03, 0, 7.45 |
Web Safe | 0033ff |
RGB percent of color #0042ec
CMYK percent of color #0042ec
Text with hexadecimal color #0042ec
This text has a font color of #0042ec
<p style="color:#0042ec">Text here</p>
#0042ec Background Color
This box has a background color of #0042ec
<div style="background-color:#0042ec">Text here</div>
#0042ec Border Color
This box has a border color of #0042ec
<div style="border: 4px solid #0042ec">Text here</div>
CSS codes
<p style="color:#0042ec">Text here</p>
<div style="background-color:#0042ec">Text here</div>
<div style="border: 4px solid #0042ec">Text here</div>
#0042ec Color on white background
This is how a font and box color of #0042ec will look
on a white background.
#0042ec Color on black background
This is how a font and box color of #0042ec hex color will look
on a black background.