Hex color #2a221a, RGB(42, 34, 26) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a221a is a shade of red-yellow. In a RGB color space it is composed of 16.47% red, 13.33% green and 10.2% blue. In HSL notation it has 30° hue, 23.5% saturation and 13.3% lightness. The process color (CMYK) is combination of 0% cyan, 19.05% magenta, 38.10% yellow and 83.53% key (black). The closest short hexadecimal code of #2a221a is #221.
Example CSS code:
.setFontColor { color: #2a221a; }
.setBackgroundColor { background-color: #2a221a; }
How to set font color?
<p style="color:#2a221a">Font color is #2a221a.</p>
Font color is #2a221a.
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:#2a221a">Background color is #2a221a.</div>
Background color is #2a221a.
Compromise in colors is grey.
- Edi Rama