Hex color #556b2f, RGB(85, 107, 47) - also known as dark olive green - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #556b2f is a shade of green-yellow. In a RGB color space it is composed of 33.33% red, 41.96% green and 18.43% blue. In HSL notation it has 82° hue, 39% saturation and 30.2% lightness. The process color (CMYK) is combination of 20.56% cyan, 0% magenta, 56.07% yellow and 58.04% key (black). The closest short hexadecimal code of #556b2f is #562.
Example CSS code:
.setFontColor { color: #556b2f; }
.setBackgroundColor { background-color: #556b2f; }
How to set font color?
<p style="color:#556b2f">Font color is #556b2f.</p>
Font color is #556b2f.
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:#556b2f">Background color is #556b2f.</div>
Background color is #556b2f.
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