Hex color #f0eba7, RGB(240, 235, 167) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0eba7 is a shade of yellow. In a RGB color space it is composed of 94.12% red, 92.16% green and 65.49% blue. In HSL notation it has 55.9° hue, 70.9% saturation and 79.8% lightness. The process color (CMYK) is combination of 0% cyan, 2.08% magenta, 30.42% yellow and 5.88% key (black). The closest short hexadecimal code of #f0eba7 is #fea.
Example CSS code:
.setFontColor { color: #f0eba7; }
.setBackgroundColor { background-color: #f0eba7; }
How to set font color?
<p style="color:#f0eba7">Font color is #f0eba7.</p>
Font color is #f0eba7.
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:#f0eba7">Background color is #f0eba7.</div>
Background color is #f0eba7.
Compromise in colors is grey.
- Edi Rama