Hex color #a52a2a, RGB(165, 42, 42) - also known as brown - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a52a2a is a shade of red. In a RGB color space it is composed of 64.71% red, 16.47% green and 16.47% blue. In HSL notation it has 0° hue, 59.4% saturation and 40.6% lightness. The process color (CMYK) is combination of 0% cyan, 74.55% magenta, 74.55% yellow and 35.29% key (black). The closest short hexadecimal code of #a52a2a is #a22.
Example CSS code:
.setFontColor { color: #a52a2a; }
.setBackgroundColor { background-color: #a52a2a; }
How to set font color?
<p style="color:#a52a2a">Font color is #a52a2a.</p>
Font color is #a52a2a.
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:#a52a2a">Background color is #a52a2a.</div>
Background color is #a52a2a.
Compromise in colors is grey.
- Edi Rama