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