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