Hex color #0c1f36, RGB(12, 31, 54) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0c1f36 is a shade of blue-cyan. In a RGB color space it is composed of 4.71% red, 12.16% green and 21.18% blue. In HSL notation it has 212.9° hue, 63.6% saturation and 12.9% lightness. The process color (CMYK) is combination of 77.78% cyan, 42.59% magenta, 0% yellow and 78.82% key (black). The closest short hexadecimal code of #0c1f36 is #013.
Example CSS code:
.setFontColor { color: #0c1f36; }
.setBackgroundColor { background-color: #0c1f36; }
How to set font color?
<p style="color:#0c1f36">Font color is #0c1f36.</p>
Font color is #0c1f36.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#0c1f36">Background color is #0c1f36.</div>
Background color is #0c1f36.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore