Hex color #1b181c, RGB(27, 24, 28) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1b181c is a shade of magenta. In a RGB color space it is composed of 10.59% red, 9.41% green and 10.98% blue. In HSL notation it has 285° hue, 7.7% saturation and 10.2% lightness. The process color (CMYK) is combination of 3.57% cyan, 14.29% magenta, 0% yellow and 89.02% key (black). The closest short hexadecimal code of #1b181c is #111.
Example CSS code:
.setFontColor { color: #1b181c; }
.setBackgroundColor { background-color: #1b181c; }
How to set font color?
<p style="color:#1b181c">Font color is #1b181c.</p>
Font color is #1b181c.
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:#1b181c">Background color is #1b181c.</div>
Background color is #1b181c.
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