Hex color #f0dcf4, RGB(240, 220, 244) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0dcf4 is a shade of magenta. In a RGB color space it is composed of 94.12% red, 86.27% green and 95.69% blue. In HSL notation it has 290° hue, 52.2% saturation and 91% lightness. The process color (CMYK) is combination of 1.64% cyan, 9.84% magenta, 0% yellow and 4.31% key (black). The closest short hexadecimal code of #f0dcf4 is #fdf.
Example CSS code:
.setFontColor { color: #f0dcf4; }
.setBackgroundColor { background-color: #f0dcf4; }
How to set font color?
<p style="color:#f0dcf4">Font color is #f0dcf4.</p>
Font color is #f0dcf4.
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
How to set background color?
<div style="background-color:#f0dcf4">Background color is #f0dcf4.</div>
Background color is #f0dcf4.
Compromise in colors is grey.
- Edi Rama