Hex color #226722, RGB(34, 103, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #226722 is a shade of green. In a RGB color space it is composed of 13.33% red, 40.39% green and 13.33% blue. In HSL notation it has 120° hue, 50.4% saturation and 26.9% lightness. The process color (CMYK) is combination of 66.99% cyan, 0% magenta, 66.99% yellow and 59.61% key (black). The closest short hexadecimal code of #226722 is #262.
Example CSS code:
.setFontColor { color: #226722; }
.setBackgroundColor { background-color: #226722; }
How to set font color?
<p style="color:#226722">Font color is #226722.</p>
Font color is #226722.
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:#226722">Background color is #226722.</div>
Background color is #226722.
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