In RGB color space, #0c04c4 hex color has a red value of 12, a green value of 4 and a blue value of 196.
In CMYK color space (used in color printing), #0c04c4 hex color is composed of 93.88% cyan, 97.96% magenta, 0% yellow and 23.14% black.
#0c04c4 color has a hue of 242.5 degrees, a saturation of 96% and a lightness of 39.2%.
#0c04c4 hex color contains mainly BLUE.
The closest web safe color of #0c04c4 is #0000cc
#0c04c4 hex color has a decimal value of 787652.
HEX | 0c04c4 | #0c04c4 |
---|---|---|
RGB | 12, 4, 196 | rgb(12, 4, 196) |
RGB Percent | 4.71, 1.57, 76.86 | rgb(4.71, 1.57, 76.86) |
CMYK | 94, 98, 0, 23 | |
HSL | 242.5°, 96, 39.2 | hsl(242.5, 96%, 39.2%) |
HSV | 242.5°, 98, 76.9 |
XYZ | 10.159, 4.151, 52.49 |
---|---|
Hunter Lab | 20.374, 53.35, -138.488 |
CIE-LAB | 24.164, 64.164, -87.571 |
CIE-LCH | 24.164, 108.562, 306.231 |
CIE-LUV | 93.88, 97.96, 0, 23.14 |
Web Safe | 0000cc |
RGB percent of color #0c04c4
CMYK percent of color #0c04c4
Text with hexadecimal color #0c04c4
This text has a font color of #0c04c4
<p style="color:#0c04c4">Text here</p>
#0c04c4 Background Color
This box has a background color of #0c04c4
<div style="background-color:#0c04c4">Text here</div>
#0c04c4 Border Color
This box has a border color of #0c04c4
<div style="border: 4px solid #0c04c4">Text here</div>
CSS codes
<p style="color:#0c04c4">Text here</p>
<div style="background-color:#0c04c4">Text here</div>
<div style="border: 4px solid #0c04c4">Text here</div>
#0c04c4 Color on white background
This is how a font and box color of #0c04c4 will look
on a white background.
#0c04c4 Color on black background
This is how a font and box color of #0c04c4 hex color will look
on a black background.