Hex color #f0f6f0, RGB(240, 246, 240) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f0f6f0 is a shade of green. In a RGB color space it is composed of 94.12% red, 96.47% green and 94.12% blue. In HSL notation it has 120° hue, 25% saturation and 95.3% lightness. The process color (CMYK) is combination of 2.44% cyan, 0% magenta, 2.44% yellow and 3.53% key (black). The closest short hexadecimal code of #f0f6f0 is #fff.
Example CSS code:
.setFontColor { color: #f0f6f0; }
.setBackgroundColor { background-color: #f0f6f0; }
How to set font color?
<p style="color:#f0f6f0">Font color is #f0f6f0.</p>
Font color is #f0f6f0.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#f0f6f0">Background color is #f0f6f0.</div>
Background color is #f0f6f0.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage