Hex color #6c8e22, RGB(108, 142, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6c8e22 is a shade of green-yellow. In a RGB color space it is composed of 42.35% red, 55.69% green and 13.33% blue. In HSL notation it has 78.9° hue, 61.4% saturation and 34.5% lightness. The process color (CMYK) is combination of 23.94% cyan, 0% magenta, 76.06% yellow and 44.31% key (black). The closest short hexadecimal code of #6c8e22 is #682.
Example CSS code:
.setFontColor { color: #6c8e22; }
.setBackgroundColor { background-color: #6c8e22; }
How to set font color?
<p style="color:#6c8e22">Font color is #6c8e22.</p>
Font color is #6c8e22.
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:#6c8e22">Background color is #6c8e22.</div>
Background color is #6c8e22.
Compromise in colors is grey.
- Edi Rama