Hex color #8cb28c, RGB(140, 178, 140) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8cb28c is a shade of green. In a RGB color space it is composed of 54.9% red, 69.8% green and 54.9% blue. In HSL notation it has 120° hue, 19.8% saturation and 62.4% lightness. The process color (CMYK) is combination of 21.35% cyan, 0% magenta, 21.35% yellow and 30.20% key (black). The closest short hexadecimal code of #8cb28c is #8b8.
Example CSS code:
.setFontColor { color: #8cb28c; }
.setBackgroundColor { background-color: #8cb28c; }
How to set font color?
<p style="color:#8cb28c">Font color is #8cb28c.</p>
Font color is #8cb28c.
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:#8cb28c">Background color is #8cb28c.</div>
Background color is #8cb28c.
Compromise in colors is grey.
- Edi Rama