Hex color #9acd32, RGB(154, 205, 50) - also known as yellow green - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9acd32 is a shade of green-yellow. In a RGB color space it is composed of 60.39% red, 80.39% green and 19.61% blue. In HSL notation it has 79.7° hue, 60.8% saturation and 50% lightness. The process color (CMYK) is combination of 24.88% cyan, 0% magenta, 75.61% yellow and 19.61% key (black). The closest short hexadecimal code of #9acd32 is #9c3.
Example CSS code:
.setFontColor { color: #9acd32; }
.setBackgroundColor { background-color: #9acd32; }
How to set font color?
<p style="color:#9acd32">Font color is #9acd32.</p>
Font color is #9acd32.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#9acd32">Background color is #9acd32.</div>
Background color is #9acd32.
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