Hex color #f8c2f1, RGB(248, 194, 241) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f8c2f1 is a shade of magenta. In a RGB color space it is composed of 97.25% red, 76.08% green and 94.51% blue. In HSL notation it has 307.8° hue, 79.4% saturation and 86.7% lightness. The process color (CMYK) is combination of 0% cyan, 21.77% magenta, 2.82% yellow and 2.75% key (black). The closest short hexadecimal code of #f8c2f1 is #fcf.
Example CSS code:
.setFontColor { color: #f8c2f1; }
.setBackgroundColor { background-color: #f8c2f1; }
How to set font color?
<p style="color:#f8c2f1">Font color is #f8c2f1.</p>
Font color is #f8c2f1.
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:#f8c2f1">Background color is #f8c2f1.</div>
Background color is #f8c2f1.
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