Hex color #f2d0dc, RGB(242, 208, 220) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f2d0dc is a shade of red-magenta. In a RGB color space it is composed of 94.9% red, 81.57% green and 86.27% blue. In HSL notation it has 338.8° hue, 56.7% saturation and 88.2% lightness. The process color (CMYK) is combination of 0% cyan, 14.05% magenta, 9.09% yellow and 5.10% key (black). The closest short hexadecimal code of #f2d0dc is #fdd.
Example CSS code:
.setFontColor { color: #f2d0dc; }
.setBackgroundColor { background-color: #f2d0dc; }
How to set font color?
<p style="color:#f2d0dc">Font color is #f2d0dc.</p>
Font color is #f2d0dc.
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:#f2d0dc">Background color is #f2d0dc.</div>
Background color is #f2d0dc.
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