Hex color #72982f, RGB(114, 152, 47) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #72982f is a shade of green-yellow. In a RGB color space it is composed of 44.71% red, 59.61% green and 18.43% blue. In HSL notation it has 81.7° hue, 52.8% saturation and 39% lightness. The process color (CMYK) is combination of 25% cyan, 0% magenta, 69.08% yellow and 40.39% key (black). The closest short hexadecimal code of #72982f is #792.
Example CSS code:
.setFontColor { color: #72982f; }
.setBackgroundColor { background-color: #72982f; }
How to set font color?
<p style="color:#72982f">Font color is #72982f.</p>
Font color is #72982f.
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:#72982f">Background color is #72982f.</div>
Background color is #72982f.
Compromise in colors is grey.
- Edi Rama