Hex color #f0d9ac, RGB(240, 217, 172) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0d9ac is a shade of red-yellow. In a RGB color space it is composed of 94.12% red, 85.1% green and 67.45% blue. In HSL notation it has 39.7° hue, 69.4% saturation and 80.8% lightness. The process color (CMYK) is combination of 0% cyan, 9.58% magenta, 28.33% yellow and 5.88% key (black). The closest short hexadecimal code of #f0d9ac is #fda.
Example CSS code:
.setFontColor { color: #f0d9ac; }
.setBackgroundColor { background-color: #f0d9ac; }
How to set font color?
<p style="color:#f0d9ac">Font color is #f0d9ac.</p>
Font color is #f0d9ac.
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:#f0d9ac">Background color is #f0d9ac.</div>
Background color is #f0d9ac.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage