Hex color #f0faeb, RGB(240, 250, 235) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0faeb is a shade of green-yellow. In a RGB color space it is composed of 94.12% red, 98.04% green and 92.16% blue. In HSL notation it has 100° hue, 60% saturation and 95.1% lightness. The process color (CMYK) is combination of 4% cyan, 0% magenta, 6% yellow and 1.96% key (black). The closest short hexadecimal code of #f0faeb is #ffe.
Example CSS code:
.setFontColor { color: #f0faeb; }
.setBackgroundColor { background-color: #f0faeb; }
How to set font color?
<p style="color:#f0faeb">Font color is #f0faeb.</p>
Font color is #f0faeb.
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:#f0faeb">Background color is #f0faeb.</div>
Background color is #f0faeb.
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