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