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