In RGB color space, #0c04c6 hex color has a red value of 12, a green value of 4 and a blue value of 198.
In CMYK color space (used in color printing), #0c04c6 hex color is composed of 93.94% cyan, 97.98% magenta, 0% yellow and 22.35% black.
#0c04c6 color has a hue of 242.5 degrees, a saturation of 96.04% and a lightness of 39.6%.
#0c04c6 hex color contains mainly BLUE.
The closest web safe color of #0c04c6 is #0000cc
#0c04c6 hex color has a decimal value of 787654.
HEX | 0c04c6 | #0c04c6 |
---|---|---|
RGB | 12, 4, 198 | rgb(12, 4, 198) |
RGB Percent | 4.71, 1.57, 77.65 | rgb(4.71, 1.57, 77.65) |
CMYK | 94, 98, 0, 22 | |
HSL | 242.5°, 96.04, 39.6 | hsl(242.5, 96.04%, 39.6%) |
HSV | 242.5°, 98, 77.6 |
XYZ | 10.388, 4.242, 53.697 |
---|---|
Hunter Lab | 20.596, 53.986, -140.16 |
CIE-LAB | 24.456, 64.678, -88.262 |
CIE-LCH | 24.456, 109.423, 306.234 |
CIE-LUV | 93.94, 97.98, 0, 22.35 |
Web Safe | 0000cc |
RGB percent of color #0c04c6
CMYK percent of color #0c04c6
Text with hexadecimal color #0c04c6
This text has a font color of #0c04c6
<p style="color:#0c04c6">Text here</p>
#0c04c6 Background Color
This box has a background color of #0c04c6
<div style="background-color:#0c04c6">Text here</div>
#0c04c6 Border Color
This box has a border color of #0c04c6
<div style="border: 4px solid #0c04c6">Text here</div>
CSS codes
<p style="color:#0c04c6">Text here</p>
<div style="background-color:#0c04c6">Text here</div>
<div style="border: 4px solid #0c04c6">Text here</div>
#0c04c6 Color on white background
This is how a font and box color of #0c04c6 will look
on a white background.
#0c04c6 Color on black background
This is how a font and box color of #0c04c6 hex color will look
on a black background.