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