Hex color #291526, RGB(41, 21, 38) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #291526 is a shade of magenta. In a RGB color space it is composed of 16.08% red, 8.24% green and 14.9% blue. In HSL notation it has 309° hue, 32.3% saturation and 12.2% lightness. The process color (CMYK) is combination of 0% cyan, 48.78% magenta, 7.32% yellow and 83.92% key (black). The closest short hexadecimal code of #291526 is #212.
Example CSS code:
.setFontColor { color: #291526; }
.setBackgroundColor { background-color: #291526; }
How to set font color?
<p style="color:#291526">Font color is #291526.</p>
Font color is #291526.
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:#291526">Background color is #291526.</div>
Background color is #291526.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage