Hex color #1a5206, RGB(26, 82, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1a5206 is a shade of green-yellow. In a RGB color space it is composed of 10.2% red, 32.16% green and 2.35% blue. In HSL notation it has 104.2° hue, 86.4% saturation and 17.3% lightness. The process color (CMYK) is combination of 68.29% cyan, 0% magenta, 92.68% yellow and 67.84% key (black). The closest short hexadecimal code of #1a5206 is #150.
Example CSS code:
.setFontColor { color: #1a5206; }
.setBackgroundColor { background-color: #1a5206; }
How to set font color?
<p style="color:#1a5206">Font color is #1a5206.</p>
Font color is #1a5206.
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:#1a5206">Background color is #1a5206.</div>
Background color is #1a5206.
Compromise in colors is grey.
- Edi Rama