Hex color #5c8a5c, RGB(92, 138, 92) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5c8a5c is a shade of green. In a RGB color space it is composed of 36.08% red, 54.12% green and 36.08% blue. In HSL notation it has 120° hue, 20% saturation and 45.1% lightness. The process color (CMYK) is combination of 33.33% cyan, 0% magenta, 33.33% yellow and 45.88% key (black). The closest short hexadecimal code of #5c8a5c is #585.
Example CSS code:
.setFontColor { color: #5c8a5c; }
.setBackgroundColor { background-color: #5c8a5c; }
How to set font color?
<p style="color:#5c8a5c">Font color is #5c8a5c.</p>
Font color is #5c8a5c.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#5c8a5c">Background color is #5c8a5c.</div>
Background color is #5c8a5c.
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