Hex color #2aa41d, RGB(42, 164, 29) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2aa41d is a shade of green. In a RGB color space it is composed of 16.47% red, 64.31% green and 11.37% blue. In HSL notation it has 114.2° hue, 69.9% saturation and 37.8% lightness. The process color (CMYK) is combination of 74.39% cyan, 0% magenta, 82.32% yellow and 35.69% key (black). The closest short hexadecimal code of #2aa41d is #2a1.
Example CSS code:
.setFontColor { color: #2aa41d; }
.setBackgroundColor { background-color: #2aa41d; }
How to set font color?
<p style="color:#2aa41d">Font color is #2aa41d.</p>
Font color is #2aa41d.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#2aa41d">Background color is #2aa41d.</div>
Background color is #2aa41d.
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