Hex color #a2942c, RGB(162, 148, 44) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a2942c is a shade of yellow. In a RGB color space it is composed of 63.53% red, 58.04% green and 17.25% blue. In HSL notation it has 52.9° hue, 57.3% saturation and 40.4% lightness. The process color (CMYK) is combination of 0% cyan, 8.64% magenta, 72.84% yellow and 36.47% key (black). The closest short hexadecimal code of #a2942c is #a92.
Example CSS code:
.setFontColor { color: #a2942c; }
.setBackgroundColor { background-color: #a2942c; }
How to set font color?
<p style="color:#a2942c">Font color is #a2942c.</p>
Font color is #a2942c.
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:#a2942c">Background color is #a2942c.</div>
Background color is #a2942c.
Compromise in colors is grey.
- Edi Rama