Hex color #221a2a, RGB(34, 26, 42) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #221a2a is a shade of blue-magenta. In a RGB color space it is composed of 13.33% red, 10.2% green and 16.47% blue. In HSL notation it has 270° hue, 23.5% saturation and 13.3% lightness. The process color (CMYK) is combination of 19.05% cyan, 38.10% magenta, 0% yellow and 83.53% key (black). The closest short hexadecimal code of #221a2a is #212.
Example CSS code:
.setFontColor { color: #221a2a; }
.setBackgroundColor { background-color: #221a2a; }
How to set font color?
<p style="color:#221a2a">Font color is #221a2a.</p>
Font color is #221a2a.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#221a2a">Background color is #221a2a.</div>
Background color is #221a2a.
Compromise in colors is grey.
- Edi Rama