In RGB color space, #0042cc hex color has a red value of 0, a green value of 66 and a blue value of 204.
In CMYK color space (used in color printing), #0042cc hex color is composed of 100% cyan, 67.65% magenta, 0% yellow and 20% black.
#0042cc color has a hue of 220.6 degrees, a saturation of 100% and a lightness of 40%.
#0042cc hex color contains mainly BLUE.
The closest web safe color of #0042cc is #0033cc
#0042cc hex color has a decimal value of 17100.
HEX | 0042cc | #0042cc |
---|---|---|
RGB | 0, 66, 204 | rgb(0, 66, 204) |
RGB Percent | 0, 25.88, 80 | rgb(0, 25.88, 80) |
CMYK | 100, 68, 0, 20 | |
HSL | 220.6°, 100, 40 | hsl(220.6, 100%, 40%) |
HSV | 220.6°, 100, 80 |
XYZ | 12.847, 8.256, 58.043 |
---|---|
Hunter Lab | 28.733, 29.526, -99.656 |
CIE-LAB | 34.51, 38.883, -75.079 |
CIE-LCH | 34.51, 84.55, 297.379 |
CIE-LUV | 100, 67.65, 0, 20 |
Web Safe | 0033cc |
RGB percent of color #0042cc
CMYK percent of color #0042cc
Text with hexadecimal color #0042cc
This text has a font color of #0042cc
<p style="color:#0042cc">Text here</p>
#0042cc Background Color
This box has a background color of #0042cc
<div style="background-color:#0042cc">Text here</div>
#0042cc Border Color
This box has a border color of #0042cc
<div style="border: 4px solid #0042cc">Text here</div>
CSS codes
<p style="color:#0042cc">Text here</p>
<div style="background-color:#0042cc">Text here</div>
<div style="border: 4px solid #0042cc">Text here</div>
#0042cc Color on white background
This is how a font and box color of #0042cc will look
on a white background.
#0042cc Color on black background
This is how a font and box color of #0042cc hex color will look
on a black background.