Hex color #8ba17f, RGB(139, 161, 127) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8ba17f is a shade of green-yellow. In a RGB color space it is composed of 54.51% red, 63.14% green and 49.8% blue. In HSL notation it has 98.8° hue, 15.3% saturation and 56.5% lightness. The process color (CMYK) is combination of 13.66% cyan, 0% magenta, 21.12% yellow and 36.86% key (black). The closest short hexadecimal code of #8ba17f is #8a7.
Example CSS code:
.setFontColor { color: #8ba17f; }
.setBackgroundColor { background-color: #8ba17f; }
How to set font color?
<p style="color:#8ba17f">Font color is #8ba17f.</p>
Font color is #8ba17f.
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
How to set background color?
<div style="background-color:#8ba17f">Background color is #8ba17f.</div>
Background color is #8ba17f.
Compromise in colors is grey.
- Edi Rama