In RGB color space, #0c42b4 hex color has a red value of 12, a green value of 66 and a blue value of 180.
In CMYK color space (used in color printing), #0c42b4 hex color is composed of 93.33% cyan, 63.33% magenta, 0% yellow and 29.41% black.
#0c42b4 color has a hue of 220.7 degrees, a saturation of 87.5% and a lightness of 37.6%.
#0c42b4 hex color contains mainly BLUE.
The closest web safe color of #0c42b4 is #0033cc
#0c42b4 hex color has a decimal value of 803508.
HEX | 0c42b4 | #0c42b4 |
---|---|---|
RGB | 12, 66, 180 | rgb(12, 66, 180) |
RGB Percent | 4.71, 25.88, 70.59 | rgb(4.71, 25.88, 70.59) |
CMYK | 93, 63, 0, 29 | |
HSL | 220.7°, 87.5, 37.6 | hsl(220.7, 87.5%, 37.6%) |
HSV | 220.7°, 93.3, 70.6 |
XYZ | 10.338, 7.27, 44.038 |
---|---|
Hunter Lab | 26.963, 21.254, -77.963 |
CIE-LAB | 32.414, 29.992, -64.434 |
CIE-LCH | 32.414, 71.072, 294.96 |
CIE-LUV | 93.33, 63.33, 0, 29.41 |
Web Safe | 0033cc |
RGB percent of color #0c42b4
CMYK percent of color #0c42b4
Text with hexadecimal color #0c42b4
This text has a font color of #0c42b4
<p style="color:#0c42b4">Text here</p>
#0c42b4 Background Color
This box has a background color of #0c42b4
<div style="background-color:#0c42b4">Text here</div>
#0c42b4 Border Color
This box has a border color of #0c42b4
<div style="border: 4px solid #0c42b4">Text here</div>
CSS codes
<p style="color:#0c42b4">Text here</p>
<div style="background-color:#0c42b4">Text here</div>
<div style="border: 4px solid #0c42b4">Text here</div>
#0c42b4 Color on white background
This is how a font and box color of #0c42b4 will look
on a white background.
#0c42b4 Color on black background
This is how a font and box color of #0c42b4 hex color will look
on a black background.