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