Hex color #0c081c, RGB(12, 8, 28) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0c081c is a shade of blue. In a RGB color space it is composed of 4.71% red, 3.14% green and 10.98% blue. In HSL notation it has 252° hue, 55.6% saturation and 7.1% lightness. The process color (CMYK) is combination of 57.14% cyan, 71.43% magenta, 0% yellow and 89.02% key (black). The closest short hexadecimal code of #0c081c is #001.
Example CSS code:
.setFontColor { color: #0c081c; }
.setBackgroundColor { background-color: #0c081c; }
How to set font color?
<p style="color:#0c081c">Font color is #0c081c.</p>
Font color is #0c081c.
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:#0c081c">Background color is #0c081c.</div>
Background color is #0c081c.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant