Hex color #1a7216, RGB(26, 114, 22) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1a7216 is a shade of green. In a RGB color space it is composed of 10.2% red, 44.71% green and 8.63% blue. In HSL notation it has 117.4° hue, 67.6% saturation and 26.7% lightness. The process color (CMYK) is combination of 77.19% cyan, 0% magenta, 80.70% yellow and 55.29% key (black). The closest short hexadecimal code of #1a7216 is #171.
Example CSS code:
.setFontColor { color: #1a7216; }
.setBackgroundColor { background-color: #1a7216; }
How to set font color?
<p style="color:#1a7216">Font color is #1a7216.</p>
Font color is #1a7216.
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:#1a7216">Background color is #1a7216.</div>
Background color is #1a7216.
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