In RGB color space, #0c42d2 hex color has a red value of 12, a green value of 66 and a blue value of 210.
In CMYK color space (used in color printing), #0c42d2 hex color is composed of 94.29% cyan, 68.57% magenta, 0% yellow and 17.65% black.
#0c42d2 color has a hue of 223.6 degrees, a saturation of 89.19% and a lightness of 43.5%.
#0c42d2 hex color contains mainly BLUE.
The closest web safe color of #0c42d2 is #0033cc
#0c42d2 hex color has a decimal value of 803538.
HEX | 0c42d2 | #0c42d2 |
---|---|---|
RGB | 12, 66, 210 | rgb(12, 66, 210) |
RGB Percent | 4.71, 25.88, 82.35 | rgb(4.71, 25.88, 82.35) |
CMYK | 94, 69, 0, 18 | |
HSL | 223.6°, 89.19, 43.5 | hsl(223.6, 89.19%, 43.5%) |
HSV | 223.6°, 94.3, 82.4 |
XYZ | 13.733, 8.628, 61.914 |
---|---|
Hunter Lab | 29.373, 32.051, -104.411 |
CIE-LAB | 35.258, 41.429, -77.318 |
CIE-LCH | 35.258, 87.718, 298.184 |
CIE-LUV | 94.29, 68.57, 0, 17.65 |
Web Safe | 0033cc |
RGB percent of color #0c42d2
CMYK percent of color #0c42d2
Text with hexadecimal color #0c42d2
This text has a font color of #0c42d2
<p style="color:#0c42d2">Text here</p>
#0c42d2 Background Color
This box has a background color of #0c42d2
<div style="background-color:#0c42d2">Text here</div>
#0c42d2 Border Color
This box has a border color of #0c42d2
<div style="border: 4px solid #0c42d2">Text here</div>
CSS codes
<p style="color:#0c42d2">Text here</p>
<div style="background-color:#0c42d2">Text here</div>
<div style="border: 4px solid #0c42d2">Text here</div>
#0c42d2 Color on white background
This is how a font and box color of #0c42d2 will look
on a white background.
#0c42d2 Color on black background
This is how a font and box color of #0c42d2 hex color will look
on a black background.