In RGB color space, #0c04ad hex color has a red value of 12, a green value of 4 and a blue value of 173.
In CMYK color space (used in color printing), #0c04ad hex color is composed of 93.06% cyan, 97.69% magenta, 0% yellow and 32.16% black.
#0c04ad color has a hue of 242.8 degrees, a saturation of 95.48% and a lightness of 34.7%.
#0c04ad hex color contains mainly BLUE.
The closest web safe color of #0c04ad is #000099
#0c04ad hex color has a decimal value of 787629.
HEX | 0c04ad | #0c04ad |
---|---|---|
RGB | 12, 4, 173 | rgb(12, 4, 173) |
RGB Percent | 4.71, 1.57, 67.84 | rgb(4.71, 1.57, 67.84) |
CMYK | 93, 98, 0, 32 | |
HSL | 242.8°, 95.48, 34.7 | hsl(242.8, 95.48%, 34.7%) |
HSV | 242.8°, 97.7, 67.8 |
XYZ | 7.738, 3.182, 39.742 |
---|---|
Hunter Lab | 17.838, 46.215, -119.607 |
CIE-LAB | 20.759, 58.262, -79.554 |
CIE-LCH | 20.759, 98.607, 306.217 |
CIE-LUV | 93.06, 97.69, 0, 32.16 |
Web Safe | 000099 |
RGB percent of color #0c04ad
CMYK percent of color #0c04ad
Text with hexadecimal color #0c04ad
This text has a font color of #0c04ad
<p style="color:#0c04ad">Text here</p>
#0c04ad Background Color
This box has a background color of #0c04ad
<div style="background-color:#0c04ad">Text here</div>
#0c04ad Border Color
This box has a border color of #0c04ad
<div style="border: 4px solid #0c04ad">Text here</div>
CSS codes
<p style="color:#0c04ad">Text here</p>
<div style="background-color:#0c04ad">Text here</div>
<div style="border: 4px solid #0c04ad">Text here</div>
#0c04ad Color on white background
This is how a font and box color of #0c04ad will look
on a white background.
#0c04ad Color on black background
This is how a font and box color of #0c04ad hex color will look
on a black background.