Hex color #879a2f, RGB(135, 154, 47) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #879a2f is a shade of yellow. In a RGB color space it is composed of 52.94% red, 60.39% green and 18.43% blue. In HSL notation it has 70.7° hue, 53.2% saturation and 39.4% lightness. The process color (CMYK) is combination of 12.34% cyan, 0% magenta, 69.48% yellow and 39.61% key (black). The closest short hexadecimal code of #879a2f is #892.
Example CSS code:
.setFontColor { color: #879a2f; }
.setBackgroundColor { background-color: #879a2f; }
How to set font color?
<p style="color:#879a2f">Font color is #879a2f.</p>
Font color is #879a2f.
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:#879a2f">Background color is #879a2f.</div>
Background color is #879a2f.
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