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