Hex color #afa737, RGB(175, 167, 55) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #afa737 is a shade of yellow. In a RGB color space it is composed of 68.63% red, 65.49% green and 21.57% blue. In HSL notation it has 56° hue, 52.2% saturation and 45.1% lightness. The process color (CMYK) is combination of 0% cyan, 4.57% magenta, 68.57% yellow and 31.37% key (black). The closest short hexadecimal code of #afa737 is #aa3.
Example CSS code:
.setFontColor { color: #afa737; }
.setBackgroundColor { background-color: #afa737; }
How to set font color?
<p style="color:#afa737">Font color is #afa737.</p>
Font color is #afa737.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#afa737">Background color is #afa737.</div>
Background color is #afa737.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage