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