Hex color #6c8852, RGB(108, 136, 82) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6c8852 is a shade of green-yellow. In a RGB color space it is composed of 42.35% red, 53.33% green and 32.16% blue. In HSL notation it has 91.1° hue, 24.8% saturation and 42.7% lightness. The process color (CMYK) is combination of 20.59% cyan, 0% magenta, 39.71% yellow and 46.67% key (black). The closest short hexadecimal code of #6c8852 is #685.
Example CSS code:
.setFontColor { color: #6c8852; }
.setBackgroundColor { background-color: #6c8852; }
How to set font color?
<p style="color:#6c8852">Font color is #6c8852.</p>
Font color is #6c8852.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#6c8852">Background color is #6c8852.</div>
Background color is #6c8852.
Compromise in colors is grey.
- Edi Rama