Hex color #f6faf6, RGB(246, 250, 246) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f6faf6 is a shade of green. In a RGB color space it is composed of 96.47% red, 98.04% green and 96.47% blue. In HSL notation it has 120° hue, 28.6% saturation and 97.3% lightness. The process color (CMYK) is combination of 1.60% cyan, 0% magenta, 1.60% yellow and 1.96% key (black). The closest short hexadecimal code of #f6faf6 is #fff.
Example CSS code:
.setFontColor { color: #f6faf6; }
.setBackgroundColor { background-color: #f6faf6; }
How to set font color?
<p style="color:#f6faf6">Font color is #f6faf6.</p>
Font color is #f6faf6.
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:#f6faf6">Background color is #f6faf6.</div>
Background color is #f6faf6.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage