In RGB color space, #0c42ac hex color has a red value of 12, a green value of 66 and a blue value of 172.
In CMYK color space (used in color printing), #0c42ac hex color is composed of 93.02% cyan, 61.63% magenta, 0% yellow and 32.55% black.
#0c42ac color has a hue of 219.8 degrees, a saturation of 86.96% and a lightness of 36.1%.
#0c42ac hex color contains mainly BLUE.
The closest web safe color of #0c42ac is #003399
#0c42ac hex color has a decimal value of 803500.
HEX | 0c42ac | #0c42ac |
---|---|---|
RGB | 12, 66, 172 | rgb(12, 66, 172) |
RGB Percent | 4.71, 25.88, 67.45 | rgb(4.71, 25.88, 67.45) |
CMYK | 93, 62, 0, 33 | |
HSL | 219.8°, 86.96, 36.1 | hsl(219.8, 86.96%, 36.1%) |
HSV | 219.8°, 93, 67.5 |
XYZ | 9.546, 6.953, 39.869 |
---|---|
Hunter Lab | 26.369, 18.476, -71.188 |
CIE-LAB | 31.7, 26.813, -60.842 |
CIE-LCH | 31.7, 66.488, 293.783 |
CIE-LUV | 93.02, 61.63, 0, 32.55 |
Web Safe | 003399 |
RGB percent of color #0c42ac
CMYK percent of color #0c42ac
Text with hexadecimal color #0c42ac
This text has a font color of #0c42ac
<p style="color:#0c42ac">Text here</p>
#0c42ac Background Color
This box has a background color of #0c42ac
<div style="background-color:#0c42ac">Text here</div>
#0c42ac Border Color
This box has a border color of #0c42ac
<div style="border: 4px solid #0c42ac">Text here</div>
CSS codes
<p style="color:#0c42ac">Text here</p>
<div style="background-color:#0c42ac">Text here</div>
<div style="border: 4px solid #0c42ac">Text here</div>
#0c42ac Color on white background
This is how a font and box color of #0c42ac will look
on a white background.
#0c42ac Color on black background
This is how a font and box color of #0c42ac hex color will look
on a black background.