Hex color #f2f2d7, RGB(242, 242, 215) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f2f2d7 is a shade of yellow. In a RGB color space it is composed of 94.9% red, 94.9% green and 84.31% blue. In HSL notation it has 60° hue, 50.9% saturation and 89.6% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 11.16% yellow and 5.10% key (black). The closest short hexadecimal code of #f2f2d7 is #ffd.
Example CSS code:
.setFontColor { color: #f2f2d7; }
.setBackgroundColor { background-color: #f2f2d7; }
How to set font color?
<p style="color:#f2f2d7">Font color is #f2f2d7.</p>
Font color is #f2f2d7.
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:#f2f2d7">Background color is #f2f2d7.</div>
Background color is #f2f2d7.
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