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