Hex color #50a000, RGB(80, 160, 0) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #50a000 is a shade of green-yellow. In a RGB color space it is composed of 31.37% red, 62.75% green and 0% blue. In HSL notation it has 90° hue, 100% saturation and 31.4% lightness. The process color (CMYK) is combination of 50% cyan, 0% magenta, 100% yellow and 37.25% key (black). The closest short hexadecimal code of #50a000 is #5a0.
Example CSS code:
.setFontColor { color: #50a000; }
.setBackgroundColor { background-color: #50a000; }
How to set font color?
<p style="color:#50a000">Font color is #50a000.</p>
Font color is #50a000.
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
How to set background color?
<div style="background-color:#50a000">Background color is #50a000.</div>
Background color is #50a000.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage