Hex color #4c7c4c, RGB(76, 124, 76) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4c7c4c is a shade of green. In a RGB color space it is composed of 29.8% red, 48.63% green and 29.8% blue. In HSL notation it has 120° hue, 24% saturation and 39.2% lightness. The process color (CMYK) is combination of 38.71% cyan, 0% magenta, 38.71% yellow and 51.37% key (black). The closest short hexadecimal code of #4c7c4c is #474.
Example CSS code:
.setFontColor { color: #4c7c4c; }
.setBackgroundColor { background-color: #4c7c4c; }
How to set font color?
<p style="color:#4c7c4c">Font color is #4c7c4c.</p>
Font color is #4c7c4c.
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:#4c7c4c">Background color is #4c7c4c.</div>
Background color is #4c7c4c.
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