In RGB color space, #0042c6 hex color has a red value of 0, a green value of 66 and a blue value of 198.
In CMYK color space (used in color printing), #0042c6 hex color is composed of 100% cyan, 66.67% magenta, 0% yellow and 22.35% black.
#0042c6 color has a hue of 220 degrees, a saturation of 100% and a lightness of 38.8%.
#0042c6 hex color contains mainly BLUE.
The closest web safe color of #0042c6 is #0033cc
#0042c6 hex color has a decimal value of 17094.
HEX | 0042c6 | #0042c6 |
---|---|---|
RGB | 0, 66, 198 | rgb(0, 66, 198) |
RGB Percent | 0, 25.88, 77.65 | rgb(0, 25.88, 77.65) |
CMYK | 100, 67, 0, 22 | |
HSL | 220°, 100, 38.8 | hsl(220, 100%, 38.8%) |
HSV | 220°, 100, 77.6 |
XYZ | 12.141, 7.974, 54.325 |
---|---|
Hunter Lab | 28.238, 27.329, -94.296 |
CIE-LAB | 33.929, 36.602, -72.543 |
CIE-LCH | 33.929, 81.254, 296.773 |
CIE-LUV | 100, 66.67, 0, 22.35 |
Web Safe | 0033cc |
RGB percent of color #0042c6
CMYK percent of color #0042c6
Text with hexadecimal color #0042c6
This text has a font color of #0042c6
<p style="color:#0042c6">Text here</p>
#0042c6 Background Color
This box has a background color of #0042c6
<div style="background-color:#0042c6">Text here</div>
#0042c6 Border Color
This box has a border color of #0042c6
<div style="border: 4px solid #0042c6">Text here</div>
CSS codes
<p style="color:#0042c6">Text here</p>
<div style="background-color:#0042c6">Text here</div>
<div style="border: 4px solid #0042c6">Text here</div>
#0042c6 Color on white background
This is how a font and box color of #0042c6 will look
on a white background.
#0042c6 Color on black background
This is how a font and box color of #0042c6 hex color will look
on a black background.