Hex color #d6a228, RGB(214, 162, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d6a228 is a shade of red-yellow. In a RGB color space it is composed of 83.92% red, 63.53% green and 15.69% blue. In HSL notation it has 42.1° hue, 68.5% saturation and 49.8% lightness. The process color (CMYK) is combination of 0% cyan, 24.30% magenta, 81.31% yellow and 16.08% key (black). The closest short hexadecimal code of #d6a228 is #da2.
Example CSS code:
.setFontColor { color: #d6a228; }
.setBackgroundColor { background-color: #d6a228; }
How to set font color?
<p style="color:#d6a228">Font color is #d6a228.</p>
Font color is #d6a228.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#d6a228">Background color is #d6a228.</div>
Background color is #d6a228.
Compromise in colors is grey.
- Edi Rama