Hex color #0c0d2f, RGB(12, 13, 47) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0c0d2f is a shade of blue. In a RGB color space it is composed of 4.71% red, 5.1% green and 18.43% blue. In HSL notation it has 238.3° hue, 59.3% saturation and 11.6% lightness. The process color (CMYK) is combination of 74.47% cyan, 72.34% magenta, 0% yellow and 81.57% key (black). The closest short hexadecimal code of #0c0d2f is #002.
Example CSS code:
.setFontColor { color: #0c0d2f; }
.setBackgroundColor { background-color: #0c0d2f; }
How to set font color?
<p style="color:#0c0d2f">Font color is #0c0d2f.</p>
Font color is #0c0d2f.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#0c0d2f">Background color is #0c0d2f.</div>
Background color is #0c0d2f.
Compromise in colors is grey.
- Edi Rama