Hex color #878e22, RGB(135, 142, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #878e22 is a shade of yellow. In a RGB color space it is composed of 52.94% red, 55.69% green and 13.33% blue. In HSL notation it has 63.9° hue, 61.4% saturation and 34.5% lightness. The process color (CMYK) is combination of 4.93% cyan, 0% magenta, 76.06% yellow and 44.31% key (black). The closest short hexadecimal code of #878e22 is #882.
Example CSS code:
.setFontColor { color: #878e22; }
.setBackgroundColor { background-color: #878e22; }
How to set font color?
<p style="color:#878e22">Font color is #878e22.</p>
Font color is #878e22.
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:#878e22">Background color is #878e22.</div>
Background color is #878e22.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage