Hex color #0c080a, RGB(12, 8, 10) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0c080a is a shade of red-magenta. In a RGB color space it is composed of 4.71% red, 3.14% green and 3.92% blue. In HSL notation it has 330° hue, 20% saturation and 3.9% lightness. The process color (CMYK) is combination of 0% cyan, 33.33% magenta, 16.67% yellow and 95.29% key (black). The closest short hexadecimal code of #0c080a is #000.
Example CSS code:
.setFontColor { color: #0c080a; }
.setBackgroundColor { background-color: #0c080a; }
How to set font color?
<p style="color:#0c080a">Font color is #0c080a.</p>
Font color is #0c080a.
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
How to set background color?
<div style="background-color:#0c080a">Background color is #0c080a.</div>
Background color is #0c080a.
Compromise in colors is grey.
- Edi Rama