Hex color #521616, RGB(82, 22, 22) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #521616 is a shade of red. In a RGB color space it is composed of 32.16% red, 8.63% green and 8.63% blue. In HSL notation it has 0° hue, 57.7% saturation and 20.4% lightness. The process color (CMYK) is combination of 0% cyan, 73.17% magenta, 73.17% yellow and 67.84% key (black). The closest short hexadecimal code of #521616 is #511.
Example CSS code:
.setFontColor { color: #521616; }
.setBackgroundColor { background-color: #521616; }
How to set font color?
<p style="color:#521616">Font color is #521616.</p>
Font color is #521616.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#521616">Background color is #521616.</div>
Background color is #521616.
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