In RGB color space, #0c04cf hex color has a red value of 12, a green value of 4 and a blue value of 207.
In CMYK color space (used in color printing), #0c04cf hex color is composed of 94.2% cyan, 98.07% magenta, 0% yellow and 18.82% black.
#0c04cf color has a hue of 242.4 degrees, a saturation of 96.21% and a lightness of 41.4%.
#0c04cf hex color contains mainly BLUE.
The closest web safe color of #0c04cf is #0000cc
#0c04cf hex color has a decimal value of 787663.
HEX | 0c04cf | #0c04cf |
---|---|---|
RGB | 12, 4, 207 | rgb(12, 4, 207) |
RGB Percent | 4.71, 1.57, 81.18 | rgb(4.71, 1.57, 81.18) |
CMYK | 94, 98, 0, 19 | |
HSL | 242.4°, 96.21, 41.4 | hsl(242.4, 96.21%, 41.4%) |
HSV | 242.4°, 98.1, 81.2 |
XYZ | 11.458, 4.67, 59.329 |
---|---|
Hunter Lab | 21.61, 56.825, -147.649 |
CIE-LAB | 25.773, 66.941, -91.332 |
CIE-LCH | 25.773, 113.237, 306.239 |
CIE-LUV | 94.2, 98.07, 0, 18.82 |
Web Safe | 0000cc |
RGB percent of color #0c04cf
CMYK percent of color #0c04cf
Text with hexadecimal color #0c04cf
This text has a font color of #0c04cf
<p style="color:#0c04cf">Text here</p>
#0c04cf Background Color
This box has a background color of #0c04cf
<div style="background-color:#0c04cf">Text here</div>
#0c04cf Border Color
This box has a border color of #0c04cf
<div style="border: 4px solid #0c04cf">Text here</div>
CSS codes
<p style="color:#0c04cf">Text here</p>
<div style="background-color:#0c04cf">Text here</div>
<div style="border: 4px solid #0c04cf">Text here</div>
#0c04cf Color on white background
This is how a font and box color of #0c04cf will look
on a white background.
#0c04cf Color on black background
This is how a font and box color of #0c04cf hex color will look
on a black background.