Hex color #a0522d, RGB(160, 82, 45) - also known as sienna - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a0522d is a shade of red-yellow. In a RGB color space it is composed of 62.75% red, 32.16% green and 17.65% blue. In HSL notation it has 19.3° hue, 56.1% saturation and 40.2% lightness. The process color (CMYK) is combination of 0% cyan, 48.75% magenta, 71.88% yellow and 37.25% key (black). The closest short hexadecimal code of #a0522d is #a52.
Example CSS code:
.setFontColor { color: #a0522d; }
.setBackgroundColor { background-color: #a0522d; }
How to set font color?
<p style="color:#a0522d">Font color is #a0522d.</p>
Font color is #a0522d.
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:#a0522d">Background color is #a0522d.</div>
Background color is #a0522d.
Compromise in colors is grey.
- Edi Rama