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