Hex color #1a5912, RGB(26, 89, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1a5912 is a shade of green. In a RGB color space it is composed of 10.2% red, 34.9% green and 7.06% blue. In HSL notation it has 113.2° hue, 66.4% saturation and 21% lightness. The process color (CMYK) is combination of 70.79% cyan, 0% magenta, 79.78% yellow and 65.10% key (black). The closest short hexadecimal code of #1a5912 is #151.
Example CSS code:
.setFontColor { color: #1a5912; }
.setBackgroundColor { background-color: #1a5912; }
How to set font color?
<p style="color:#1a5912">Font color is #1a5912.</p>
Font color is #1a5912.
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:#1a5912">Background color is #1a5912.</div>
Background color is #1a5912.
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