Hex color #daa520, RGB(218, 165, 32) - also known as goldenrod - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #daa520 is a shade of red-yellow. In a RGB color space it is composed of 85.49% red, 64.71% green and 12.55% blue. In HSL notation it has 42.9° hue, 74.4% saturation and 49% lightness. The process color (CMYK) is combination of 0% cyan, 24.31% magenta, 85.32% yellow and 14.51% key (black). The closest short hexadecimal code of #daa520 is #da2.
Example CSS code:
.setFontColor { color: #daa520; }
.setBackgroundColor { background-color: #daa520; }
How to set font color?
<p style="color:#daa520">Font color is #daa520.</p>
Font color is #daa520.
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:#daa520">Background color is #daa520.</div>
Background color is #daa520.
Compromise in colors is grey.
- Edi Rama