Hex color #6f942f, RGB(111, 148, 47) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6f942f is a shade of green-yellow. In a RGB color space it is composed of 43.53% red, 58.04% green and 18.43% blue. In HSL notation it has 82° hue, 51.8% saturation and 38.2% lightness. The process color (CMYK) is combination of 25% cyan, 0% magenta, 68.24% yellow and 41.96% key (black). The closest short hexadecimal code of #6f942f is #692.
Example CSS code:
.setFontColor { color: #6f942f; }
.setBackgroundColor { background-color: #6f942f; }
How to set font color?
<p style="color:#6f942f">Font color is #6f942f.</p>
Font color is #6f942f.
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:#6f942f">Background color is #6f942f.</div>
Background color is #6f942f.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage