Hex color #a22c3a, RGB(162, 44, 58) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a22c3a is a shade of red. In a RGB color space it is composed of 63.53% red, 17.25% green and 22.75% blue. In HSL notation it has 352.9° hue, 57.3% saturation and 40.4% lightness. The process color (CMYK) is combination of 0% cyan, 72.84% magenta, 64.20% yellow and 36.47% key (black). The closest short hexadecimal code of #a22c3a is #a23.
Example CSS code:
.setFontColor { color: #a22c3a; }
.setBackgroundColor { background-color: #a22c3a; }
How to set font color?
<p style="color:#a22c3a">Font color is #a22c3a.</p>
Font color is #a22c3a.
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:#a22c3a">Background color is #a22c3a.</div>
Background color is #a22c3a.
Compromise in colors is grey.
- Edi Rama