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