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