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