Hex color #d9cc28, RGB(217, 204, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d9cc28 is a shade of yellow. In a RGB color space it is composed of 85.1% red, 80% green and 15.69% blue. In HSL notation it has 55.6° hue, 70% saturation and 50.4% lightness. The process color (CMYK) is combination of 0% cyan, 5.99% magenta, 81.57% yellow and 14.90% key (black). The closest short hexadecimal code of #d9cc28 is #dc2.
Example CSS code:
.setFontColor { color: #d9cc28; }
.setBackgroundColor { background-color: #d9cc28; }
How to set font color?
<p style="color:#d9cc28">Font color is #d9cc28.</p>
Font color is #d9cc28.
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:#d9cc28">Background color is #d9cc28.</div>
Background color is #d9cc28.
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