Hex color #f0e4fd, RGB(240, 228, 253) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0e4fd is a shade of blue-magenta. In a RGB color space it is composed of 94.12% red, 89.41% green and 99.22% blue. In HSL notation it has 268.8° hue, 86.2% saturation and 94.3% lightness. The process color (CMYK) is combination of 5.14% cyan, 9.88% magenta, 0% yellow and 0.78% key (black). The closest short hexadecimal code of #f0e4fd is #fef.
Example CSS code:
.setFontColor { color: #f0e4fd; }
.setBackgroundColor { background-color: #f0e4fd; }
How to set font color?
<p style="color:#f0e4fd">Font color is #f0e4fd.</p>
Font color is #f0e4fd.
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:#f0e4fd">Background color is #f0e4fd.</div>
Background color is #f0e4fd.
Compromise in colors is grey.
- Edi Rama