Hex color #a7a156, RGB(167, 161, 86) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a7a156 is a shade of yellow. In a RGB color space it is composed of 65.49% red, 63.14% green and 33.73% blue. In HSL notation it has 55.6° hue, 32% saturation and 49.6% lightness. The process color (CMYK) is combination of 0% cyan, 3.59% magenta, 48.50% yellow and 34.51% key (black). The closest short hexadecimal code of #a7a156 is #aa5.
Example CSS code:
.setFontColor { color: #a7a156; }
.setBackgroundColor { background-color: #a7a156; }
How to set font color?
<p style="color:#a7a156">Font color is #a7a156.</p>
Font color is #a7a156.
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:#a7a156">Background color is #a7a156.</div>
Background color is #a7a156.
Compromise in colors is grey.
- Edi Rama