Hex color #e7f2d4, RGB(231, 242, 212) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #e7f2d4 is a shade of green-yellow. In a RGB color space it is composed of 90.59% red, 94.9% green and 83.14% blue. In HSL notation it has 82° hue, 53.6% saturation and 89% lightness. The process color (CMYK) is combination of 4.55% cyan, 0% magenta, 12.40% yellow and 5.10% key (black). The closest short hexadecimal code of #e7f2d4 is #efd.
Example CSS code:
.setFontColor { color: #e7f2d4; }
.setBackgroundColor { background-color: #e7f2d4; }
How to set font color?
<p style="color:#e7f2d4">Font color is #e7f2d4.</p>
Font color is #e7f2d4.
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:#e7f2d4">Background color is #e7f2d4.</div>
Background color is #e7f2d4.
Compromise in colors is grey.
- Edi Rama