Hex color #4f6821, RGB(79, 104, 33) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4f6821 is a shade of green-yellow. In a RGB color space it is composed of 30.98% red, 40.78% green and 12.94% blue. In HSL notation it has 81.1° hue, 51.8% saturation and 26.9% lightness. The process color (CMYK) is combination of 24.04% cyan, 0% magenta, 68.27% yellow and 59.22% key (black). The closest short hexadecimal code of #4f6821 is #462.
Example CSS code:
.setFontColor { color: #4f6821; }
.setBackgroundColor { background-color: #4f6821; }
How to set font color?
<p style="color:#4f6821">Font color is #4f6821.</p>
Font color is #4f6821.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#4f6821">Background color is #4f6821.</div>
Background color is #4f6821.
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