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