Hex color #f2e1f9, RGB(242, 225, 249) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f2e1f9 is a shade of blue-magenta. In a RGB color space it is composed of 94.9% red, 88.24% green and 97.65% blue. In HSL notation it has 282.5° hue, 66.7% saturation and 92.9% lightness. The process color (CMYK) is combination of 2.81% cyan, 9.64% magenta, 0% yellow and 2.35% key (black). The closest short hexadecimal code of #f2e1f9 is #fef.
Example CSS code:
.setFontColor { color: #f2e1f9; }
.setBackgroundColor { background-color: #f2e1f9; }
How to set font color?
<p style="color:#f2e1f9">Font color is #f2e1f9.</p>
Font color is #f2e1f9.
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:#f2e1f9">Background color is #f2e1f9.</div>
Background color is #f2e1f9.
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