Hex color #507150, RGB(80, 113, 80) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #507150 is a shade of green. In a RGB color space it is composed of 31.37% red, 44.31% green and 31.37% blue. In HSL notation it has 120° hue, 17.1% saturation and 37.8% lightness. The process color (CMYK) is combination of 29.20% cyan, 0% magenta, 29.20% yellow and 55.69% key (black). The closest short hexadecimal code of #507150 is #575.
Example CSS code:
.setFontColor { color: #507150; }
.setBackgroundColor { background-color: #507150; }
How to set font color?
<p style="color:#507150">Font color is #507150.</p>
Font color is #507150.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#507150">Background color is #507150.</div>
Background color is #507150.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage