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