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