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