Hex color #f0fef0, RGB(240, 254, 240) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0fef0 is a shade of green. In a RGB color space it is composed of 94.12% red, 99.61% green and 94.12% blue. In HSL notation it has 120° hue, 87.5% saturation and 96.9% lightness. The process color (CMYK) is combination of 5.51% cyan, 0% magenta, 5.51% yellow and 0.39% key (black). The closest short hexadecimal code of #f0fef0 is #fff.
Example CSS code:
.setFontColor { color: #f0fef0; }
.setBackgroundColor { background-color: #f0fef0; }
How to set font color?
<p style="color:#f0fef0">Font color is #f0fef0.</p>
Font color is #f0fef0.
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:#f0fef0">Background color is #f0fef0.</div>
Background color is #f0fef0.
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