Hex color #f8cdf7, RGB(248, 205, 247) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f8cdf7 is a shade of magenta. In a RGB color space it is composed of 97.25% red, 80.39% green and 96.86% blue. In HSL notation it has 301.4° hue, 75.4% saturation and 88.8% lightness. The process color (CMYK) is combination of 0% cyan, 17.34% magenta, 0.40% yellow and 2.75% key (black). The closest short hexadecimal code of #f8cdf7 is #fcf.
Example CSS code:
.setFontColor { color: #f8cdf7; }
.setBackgroundColor { background-color: #f8cdf7; }
How to set font color?
<p style="color:#f8cdf7">Font color is #f8cdf7.</p>
Font color is #f8cdf7.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#f8cdf7">Background color is #f8cdf7.</div>
Background color is #f8cdf7.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage