Hex color #f8f7a1, RGB(248, 247, 161) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f8f7a1 is a shade of yellow. In a RGB color space it is composed of 97.25% red, 96.86% green and 63.14% blue. In HSL notation it has 59.3° hue, 86.1% saturation and 80.2% lightness. The process color (CMYK) is combination of 0% cyan, 0.40% magenta, 35.08% yellow and 2.75% key (black). The closest short hexadecimal code of #f8f7a1 is #ffa.
Example CSS code:
.setFontColor { color: #f8f7a1; }
.setBackgroundColor { background-color: #f8f7a1; }
How to set font color?
<p style="color:#f8f7a1">Font color is #f8f7a1.</p>
Font color is #f8f7a1.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#f8f7a1">Background color is #f8f7a1.</div>
Background color is #f8f7a1.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage