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