Hex color #f9def4, RGB(249, 222, 244) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f9def4 is a shade of magenta. In a RGB color space it is composed of 97.65% red, 87.06% green and 95.69% blue. In HSL notation it has 311.1° hue, 69.2% saturation and 92.4% lightness. The process color (CMYK) is combination of 0% cyan, 10.84% magenta, 2.01% yellow and 2.35% key (black). The closest short hexadecimal code of #f9def4 is #fdf.
Example CSS code:
.setFontColor { color: #f9def4; }
.setBackgroundColor { background-color: #f9def4; }
How to set font color?
<p style="color:#f9def4">Font color is #f9def4.</p>
Font color is #f9def4.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#f9def4">Background color is #f9def4.</div>
Background color is #f9def4.
Compromise in colors is grey.
- Edi Rama