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