Hex color #2d4a2d, RGB(45, 74, 45) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2d4a2d is a shade of green. In a RGB color space it is composed of 17.65% red, 29.02% green and 17.65% blue. In HSL notation it has 120° hue, 24.4% saturation and 23.3% lightness. The process color (CMYK) is combination of 39.19% cyan, 0% magenta, 39.19% yellow and 70.98% key (black). The closest short hexadecimal code of #2d4a2d is #242.
Example CSS code:
.setFontColor { color: #2d4a2d; }
.setBackgroundColor { background-color: #2d4a2d; }
How to set font color?
<p style="color:#2d4a2d">Font color is #2d4a2d.</p>
Font color is #2d4a2d.
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:#2d4a2d">Background color is #2d4a2d.</div>
Background color is #2d4a2d.
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