Hex color #222a1a, RGB(34, 42, 26) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #222a1a is a shade of green-yellow. In a RGB color space it is composed of 13.33% red, 16.47% green and 10.2% blue. In HSL notation it has 90° hue, 23.5% saturation and 13.3% lightness. The process color (CMYK) is combination of 19.05% cyan, 0% magenta, 38.10% yellow and 83.53% key (black). The closest short hexadecimal code of #222a1a is #221.
Example CSS code:
.setFontColor { color: #222a1a; }
.setBackgroundColor { background-color: #222a1a; }
How to set font color?
<p style="color:#222a1a">Font color is #222a1a.</p>
Font color is #222a1a.
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
How to set background color?
<div style="background-color:#222a1a">Background color is #222a1a.</div>
Background color is #222a1a.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage