In RGB color space, #0c2851 hex color has a red value of 12, a green value of 40 and a blue value of 81.
In CMYK color space (used in color printing), #0c2851 hex color is composed of 85.19% cyan, 50.62% magenta, 0% yellow and 68.24% black.
#0c2851 color has a hue of 215.7 degrees, a saturation of 74.19% and a lightness of 18.2%.
#0c2851 hex color contains mainly BLUE.
The closest web safe color of #0c2851 is #003366
#0c2851 hex color has a decimal value of 796753.
HEX | 0c2851 | #0c2851 |
---|---|---|
RGB | 12, 40, 81 | rgb(12, 40, 81) |
RGB Percent | 4.71, 15.69, 31.76 | rgb(4.71, 15.69, 31.76) |
CMYK | 85, 51, 0, 68 | |
HSL | 215.7°, 74.19, 18.2 | hsl(215.7, 74.19%, 18.2%) |
HSV | 215.7°, 85.2, 31.8 |
XYZ | 2.396, 2.19, 8.081 |
---|---|
Hunter Lab | 14.799, 3.003, -22.017 |
CIE-LAB | 16.454, 6.717, -28.093 |
CIE-LCH | 16.454, 28.885, 283.447 |
CIE-LUV | 85.19, 50.62, 0, 68.24 |
Web Safe | 003366 |
RGB percent of color #0c2851
CMYK percent of color #0c2851
Text with hexadecimal color #0c2851
This text has a font color of #0c2851
<p style="color:#0c2851">Text here</p>
#0c2851 Background Color
This box has a background color of #0c2851
<div style="background-color:#0c2851">Text here</div>
#0c2851 Border Color
This box has a border color of #0c2851
<div style="border: 4px solid #0c2851">Text here</div>
CSS codes
<p style="color:#0c2851">Text here</p>
<div style="background-color:#0c2851">Text here</div>
<div style="border: 4px solid #0c2851">Text here</div>
#0c2851 Color on white background
This is how a font and box color of #0c2851 will look
on a white background.
#0c2851 Color on black background
This is how a font and box color of #0c2851 hex color will look
on a black background.