Hex color #1a2a22, RGB(26, 42, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1a2a22 is a shade of green-cyan. In a RGB color space it is composed of 10.2% red, 16.47% green and 13.33% blue. In HSL notation it has 150° hue, 23.5% saturation and 13.3% lightness. The process color (CMYK) is combination of 38.10% cyan, 0% magenta, 19.05% yellow and 83.53% key (black). The closest short hexadecimal code of #1a2a22 is #122.
Example CSS code:
.setFontColor { color: #1a2a22; }
.setBackgroundColor { background-color: #1a2a22; }
How to set font color?
<p style="color:#1a2a22">Font color is #1a2a22.</p>
Font color is #1a2a22.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#1a2a22">Background color is #1a2a22.</div>
Background color is #1a2a22.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore