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