Hex color #4a5d39, RGB(74, 93, 57) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4a5d39 is a shade of green-yellow. In a RGB color space it is composed of 29.02% red, 36.47% green and 22.35% blue. In HSL notation it has 91.7° hue, 24% saturation and 29.4% lightness. The process color (CMYK) is combination of 20.43% cyan, 0% magenta, 38.71% yellow and 63.53% key (black). The closest short hexadecimal code of #4a5d39 is #453.
Example CSS code:
.setFontColor { color: #4a5d39; }
.setBackgroundColor { background-color: #4a5d39; }
How to set font color?
<p style="color:#4a5d39">Font color is #4a5d39.</p>
Font color is #4a5d39.
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:#4a5d39">Background color is #4a5d39.</div>
Background color is #4a5d39.
Compromise in colors is grey.
- Edi Rama