Hex color #4f811f, RGB(79, 129, 31) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4f811f is a shade of green-yellow. In a RGB color space it is composed of 30.98% red, 50.59% green and 12.16% blue. In HSL notation it has 90.6° hue, 61.2% saturation and 31.4% lightness. The process color (CMYK) is combination of 38.76% cyan, 0% magenta, 75.97% yellow and 49.41% key (black). The closest short hexadecimal code of #4f811f is #481.
Example CSS code:
.setFontColor { color: #4f811f; }
.setBackgroundColor { background-color: #4f811f; }
How to set font color?
<p style="color:#4f811f">Font color is #4f811f.</p>
Font color is #4f811f.
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:#4f811f">Background color is #4f811f.</div>
Background color is #4f811f.
Compromise in colors is grey.
- Edi Rama