In RGB color space, #0c04d4 hex color has a red value of 12, a green value of 4 and a blue value of 212.
In CMYK color space (used in color printing), #0c04d4 hex color is composed of 94.34% cyan, 98.11% magenta, 0% yellow and 16.86% black.
#0c04d4 color has a hue of 242.3 degrees, a saturation of 96.3% and a lightness of 42.4%.
#0c04d4 hex color contains mainly BLUE.
The closest web safe color of #0c04d4 is #0000cc
#0c04d4 hex color has a decimal value of 787668.
HEX | 0c04d4 | #0c04d4 |
---|---|---|
RGB | 12, 4, 212 | rgb(12, 4, 212) |
RGB Percent | 4.71, 1.57, 83.14 | rgb(4.71, 1.57, 83.14) |
CMYK | 94, 98, 0, 17 | |
HSL | 242.3°, 96.3, 42.4 | hsl(242.3, 96.3%, 42.4%) |
HSV | 242.3°, 98.1, 83.1 |
XYZ | 12.079, 4.918, 62.6 |
---|---|
Hunter Lab | 22.177, 58.415, -151.84 |
CIE-LAB | 26.5, 68.193, -93.028 |
CIE-LCH | 26.5, 115.345, 306.243 |
CIE-LUV | 94.34, 98.11, 0, 16.86 |
Web Safe | 0000cc |
RGB percent of color #0c04d4
CMYK percent of color #0c04d4
Text with hexadecimal color #0c04d4
This text has a font color of #0c04d4
<p style="color:#0c04d4">Text here</p>
#0c04d4 Background Color
This box has a background color of #0c04d4
<div style="background-color:#0c04d4">Text here</div>
#0c04d4 Border Color
This box has a border color of #0c04d4
<div style="border: 4px solid #0c04d4">Text here</div>
CSS codes
<p style="color:#0c04d4">Text here</p>
<div style="background-color:#0c04d4">Text here</div>
<div style="border: 4px solid #0c04d4">Text here</div>
#0c04d4 Color on white background
This is how a font and box color of #0c04d4 will look
on a white background.
#0c04d4 Color on black background
This is how a font and box color of #0c04d4 hex color will look
on a black background.