In RGB color space, #0c04cc hex color has a red value of 12, a green value of 4 and a blue value of 204.
In CMYK color space (used in color printing), #0c04cc hex color is composed of 94.12% cyan, 98.04% magenta, 0% yellow and 20% black.
#0c04cc color has a hue of 242.4 degrees, a saturation of 96.15% and a lightness of 40.8%.
#0c04cc hex color contains mainly BLUE.
The closest web safe color of #0c04cc is #0000cc
#0c04cc hex color has a decimal value of 787660.
HEX | 0c04cc | #0c04cc |
---|---|---|
RGB | 12, 4, 204 | rgb(12, 4, 204) |
RGB Percent | 4.71, 1.57, 80 | rgb(4.71, 1.57, 80) |
CMYK | 94, 98, 0, 20 | |
HSL | 242.4°, 96.15, 40.8 | hsl(242.4, 96.15%, 40.8%) |
HSV | 242.4°, 98, 80 |
XYZ | 11.094, 4.525, 57.415 |
---|---|
Hunter Lab | 21.272, 55.867, -145.138 |
CIE-LAB | 25.336, 66.181, -90.31 |
CIE-LCH | 25.336, 111.963, 306.235 |
CIE-LUV | 94.12, 98.04, 0, 20 |
Web Safe | 0000cc |
RGB percent of color #0c04cc
CMYK percent of color #0c04cc
Text with hexadecimal color #0c04cc
This text has a font color of #0c04cc
<p style="color:#0c04cc">Text here</p>
#0c04cc Background Color
This box has a background color of #0c04cc
<div style="background-color:#0c04cc">Text here</div>
#0c04cc Border Color
This box has a border color of #0c04cc
<div style="border: 4px solid #0c04cc">Text here</div>
CSS codes
<p style="color:#0c04cc">Text here</p>
<div style="background-color:#0c04cc">Text here</div>
<div style="border: 4px solid #0c04cc">Text here</div>
#0c04cc Color on white background
This is how a font and box color of #0c04cc will look
on a white background.
#0c04cc Color on black background
This is how a font and box color of #0c04cc hex color will look
on a black background.