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