Hex color #126418, RGB(18, 100, 24) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #126418 is a shade of green. In a RGB color space it is composed of 7.06% red, 39.22% green and 9.41% blue. In HSL notation it has 124.4° hue, 69.5% saturation and 23.1% lightness. The process color (CMYK) is combination of 82% cyan, 0% magenta, 76% yellow and 60.78% key (black). The closest short hexadecimal code of #126418 is #161.
Example CSS code:
.setFontColor { color: #126418; }
.setBackgroundColor { background-color: #126418; }
How to set font color?
<p style="color:#126418">Font color is #126418.</p>
Font color is #126418.
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
How to set background color?
<div style="background-color:#126418">Background color is #126418.</div>
Background color is #126418.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage