Hex color #3aa22c, RGB(58, 162, 44) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3aa22c is a shade of green. In a RGB color space it is composed of 22.75% red, 63.53% green and 17.25% blue. In HSL notation it has 112.9° hue, 57.3% saturation and 40.4% lightness. The process color (CMYK) is combination of 64.20% cyan, 0% magenta, 72.84% yellow and 36.47% key (black). The closest short hexadecimal code of #3aa22c is #3a2.
Example CSS code:
.setFontColor { color: #3aa22c; }
.setBackgroundColor { background-color: #3aa22c; }
How to set font color?
<p style="color:#3aa22c">Font color is #3aa22c.</p>
Font color is #3aa22c.
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:#3aa22c">Background color is #3aa22c.</div>
Background color is #3aa22c.
Compromise in colors is grey.
- Edi Rama