Hex color #18070c, RGB(24, 7, 12) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #18070c is a shade of red-magenta. In a RGB color space it is composed of 9.41% red, 2.75% green and 4.71% blue. In HSL notation it has 342.4° hue, 54.8% saturation and 6.1% lightness. The process color (CMYK) is combination of 0% cyan, 70.83% magenta, 50.00% yellow and 90.59% key (black). The closest short hexadecimal code of #18070c is #100.
Example CSS code:
.setFontColor { color: #18070c; }
.setBackgroundColor { background-color: #18070c; }
How to set font color?
<p style="color:#18070c">Font color is #18070c.</p>
Font color is #18070c.
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:#18070c">Background color is #18070c.</div>
Background color is #18070c.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage