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