Hex color #54a147, RGB(84, 161, 71) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #54a147 is a shade of green. In a RGB color space it is composed of 32.94% red, 63.14% green and 27.84% blue. In HSL notation it has 111.3° hue, 38.8% saturation and 45.5% lightness. The process color (CMYK) is combination of 47.83% cyan, 0% magenta, 55.90% yellow and 36.86% key (black). The closest short hexadecimal code of #54a147 is #5a4.
Example CSS code:
.setFontColor { color: #54a147; }
.setBackgroundColor { background-color: #54a147; }
How to set font color?
<p style="color:#54a147">Font color is #54a147.</p>
Font color is #54a147.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#54a147">Background color is #54a147.</div>
Background color is #54a147.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage