Hex color #f0fcf0, RGB(240, 252, 240) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0fcf0 is a shade of green. In a RGB color space it is composed of 94.12% red, 98.82% green and 94.12% blue. In HSL notation it has 120° hue, 66.7% saturation and 96.5% lightness. The process color (CMYK) is combination of 4.76% cyan, 0% magenta, 4.76% yellow and 1.18% key (black). The closest short hexadecimal code of #f0fcf0 is #fff.
Example CSS code:
.setFontColor { color: #f0fcf0; }
.setBackgroundColor { background-color: #f0fcf0; }
How to set font color?
<p style="color:#f0fcf0">Font color is #f0fcf0.</p>
Font color is #f0fcf0.
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:#f0fcf0">Background color is #f0fcf0.</div>
Background color is #f0fcf0.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage