In RGB color space, #0c42bf hex color has a red value of 12, a green value of 66 and a blue value of 191.
In CMYK color space (used in color printing), #0c42bf hex color is composed of 93.72% cyan, 65.45% magenta, 0% yellow and 25.1% black.
#0c42bf color has a hue of 221.9 degrees, a saturation of 88.18% and a lightness of 39.8%.
#0c42bf hex color contains mainly BLUE.
The closest web safe color of #0c42bf is #0033cc
#0c42bf hex color has a decimal value of 803519.
HEX | 0c42bf | #0c42bf |
---|---|---|
RGB | 12, 66, 191 | rgb(12, 66, 191) |
RGB Percent | 4.71, 25.88, 74.9 | rgb(4.71, 25.88, 74.9) |
CMYK | 94, 65, 0, 25 | |
HSL | 221.9°, 88.18, 39.8 | hsl(221.9, 88.18%, 39.8%) |
HSV | 221.9°, 93.7, 74.9 |
XYZ | 11.504, 7.736, 50.177 |
---|---|
Hunter Lab | 27.814, 25.155, -87.492 |
CIE-LAB | 33.427, 34.281, -69.263 |
CIE-LCH | 33.427, 77.282, 296.333 |
CIE-LUV | 93.72, 65.45, 0, 25.1 |
Web Safe | 0033cc |
RGB percent of color #0c42bf
CMYK percent of color #0c42bf
Text with hexadecimal color #0c42bf
This text has a font color of #0c42bf
<p style="color:#0c42bf">Text here</p>
#0c42bf Background Color
This box has a background color of #0c42bf
<div style="background-color:#0c42bf">Text here</div>
#0c42bf Border Color
This box has a border color of #0c42bf
<div style="border: 4px solid #0c42bf">Text here</div>
CSS codes
<p style="color:#0c42bf">Text here</p>
<div style="background-color:#0c42bf">Text here</div>
<div style="border: 4px solid #0c42bf">Text here</div>
#0c42bf Color on white background
This is how a font and box color of #0c42bf will look
on a white background.
#0c42bf Color on black background
This is how a font and box color of #0c42bf hex color will look
on a black background.