Hex color #d8f8cf, RGB(216, 248, 207) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #d8f8cf is a shade of green. In a RGB color space it is composed of 84.71% red, 97.25% green and 81.18% blue. In HSL notation it has 106.8° hue, 74.5% saturation and 89.2% lightness. The process color (CMYK) is combination of 12.90% cyan, 0% magenta, 16.53% yellow and 2.75% key (black). The closest short hexadecimal code of #d8f8cf is #dfc.
Example CSS code:
.setFontColor { color: #d8f8cf; }
.setBackgroundColor { background-color: #d8f8cf; }
How to set font color?
<p style="color:#d8f8cf">Font color is #d8f8cf.</p>
Font color is #d8f8cf.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#d8f8cf">Background color is #d8f8cf.</div>
Background color is #d8f8cf.
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