Hex color #afaf0d, RGB(175, 175, 13) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #afaf0d is a shade of yellow. In a RGB color space it is composed of 68.63% red, 68.63% green and 5.1% blue. In HSL notation it has 60° hue, 86.2% saturation and 36.9% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 92.57% yellow and 31.37% key (black). The closest short hexadecimal code of #afaf0d is #aa0.
Example CSS code:
.setFontColor { color: #afaf0d; }
.setBackgroundColor { background-color: #afaf0d; }
How to set font color?
<p style="color:#afaf0d">Font color is #afaf0d.</p>
Font color is #afaf0d.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#afaf0d">Background color is #afaf0d.</div>
Background color is #afaf0d.
Compromise in colors is grey.
- Edi Rama