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