Hex color #f8f5c2, RGB(248, 245, 194) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f8f5c2 is a shade of yellow. In a RGB color space it is composed of 97.25% red, 96.08% green and 76.08% blue. In HSL notation it has 56.7° hue, 79.4% saturation and 86.7% lightness. The process color (CMYK) is combination of 0% cyan, 1.21% magenta, 21.77% yellow and 2.75% key (black). The closest short hexadecimal code of #f8f5c2 is #ffc.
Example CSS code:
.setFontColor { color: #f8f5c2; }
.setBackgroundColor { background-color: #f8f5c2; }
How to set font color?
<p style="color:#f8f5c2">Font color is #f8f5c2.</p>
Font color is #f8f5c2.
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:#f8f5c2">Background color is #f8f5c2.</div>
Background color is #f8f5c2.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage