In RGB color space, #0c42d1 hex color has a red value of 12, a green value of 66 and a blue value of 209.
In CMYK color space (used in color printing), #0c42d1 hex color is composed of 94.26% cyan, 68.42% magenta, 0% yellow and 18.04% black.
#0c42d1 color has a hue of 223.6 degrees, a saturation of 89.14% and a lightness of 43.3%.
#0c42d1 hex color contains mainly BLUE.
The closest web safe color of #0c42d1 is #0033cc
#0c42d1 hex color has a decimal value of 803537.
HEX | 0c42d1 | #0c42d1 |
---|---|---|
RGB | 12, 66, 209 | rgb(12, 66, 209) |
RGB Percent | 4.71, 25.88, 81.96 | rgb(4.71, 25.88, 81.96) |
CMYK | 94, 68, 0, 18 | |
HSL | 223.6°, 89.14, 43.3 | hsl(223.6, 89.14%, 43.3%) |
HSV | 223.6°, 94.3, 82 |
XYZ | 13.608, 8.578, 61.26 |
---|---|
Hunter Lab | 29.288, 31.681, -103.511 |
CIE-LAB | 35.159, 41.059, -76.904 |
CIE-LCH | 35.159, 87.178, 298.098 |
CIE-LUV | 94.26, 68.42, 0, 18.04 |
Web Safe | 0033cc |
RGB percent of color #0c42d1
CMYK percent of color #0c42d1
Text with hexadecimal color #0c42d1
This text has a font color of #0c42d1
<p style="color:#0c42d1">Text here</p>
#0c42d1 Background Color
This box has a background color of #0c42d1
<div style="background-color:#0c42d1">Text here</div>
#0c42d1 Border Color
This box has a border color of #0c42d1
<div style="border: 4px solid #0c42d1">Text here</div>
CSS codes
<p style="color:#0c42d1">Text here</p>
<div style="background-color:#0c42d1">Text here</div>
<div style="border: 4px solid #0c42d1">Text here</div>
#0c42d1 Color on white background
This is how a font and box color of #0c42d1 will look
on a white background.
#0c42d1 Color on black background
This is how a font and box color of #0c42d1 hex color will look
on a black background.