In RGB color space, #0c1828 hex color has a red value of 12, a green value of 24 and a blue value of 40.
In CMYK color space (used in color printing), #0c1828 hex color is composed of 70% cyan, 40% magenta, 0% yellow and 84.31% black.
#0c1828 color has a hue of 214.3 degrees, a saturation of 53.85% and a lightness of 10.2%.
#0c1828 hex color contains mainly BLUE.
The closest web safe color of #0c1828 is #000033
#0c1828 hex color has a decimal value of 792616.
HEX | 0c1828 | #0c1828 |
---|---|---|
RGB | 12, 24, 40 | rgb(12, 24, 40) |
RGB Percent | 4.71, 9.41, 15.69 | rgb(4.71, 9.41, 15.69) |
CMYK | 70, 40, 0, 84 | |
HSL | 214.3°, 53.85, 10.2 | hsl(214.3, 53.85%, 10.2%) |
HSV | 214.3°, 70, 15.7 |
XYZ | 0.861, 0.885, 2.133 |
---|---|
Hunter Lab | 9.407, -0.126, -6.858 |
CIE-LAB | 7.994, 0.807, -12.545 |
CIE-LCH | 7.994, 12.571, 273.681 |
CIE-LUV | 70, 40, 0, 84.31 |
Web Safe | 000033 |
RGB percent of color #0c1828
CMYK percent of color #0c1828
Text with hexadecimal color #0c1828
This text has a font color of #0c1828
<p style="color:#0c1828">Text here</p>
#0c1828 Background Color
This box has a background color of #0c1828
<div style="background-color:#0c1828">Text here</div>
#0c1828 Border Color
This box has a border color of #0c1828
<div style="border: 4px solid #0c1828">Text here</div>
CSS codes
<p style="color:#0c1828">Text here</p>
<div style="background-color:#0c1828">Text here</div>
<div style="border: 4px solid #0c1828">Text here</div>
#0c1828 Color on white background
This is how a font and box color of #0c1828 will look
on a white background.
#0c1828 Color on black background
This is how a font and box color of #0c1828 hex color will look
on a black background.