Hex color #558f1c, RGB(85, 143, 28) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #558f1c is a shade of green-yellow. In a RGB color space it is composed of 33.33% red, 56.08% green and 10.98% blue. In HSL notation it has 90.3° hue, 67.3% saturation and 33.5% lightness. The process color (CMYK) is combination of 40.56% cyan, 0% magenta, 80.42% yellow and 43.92% key (black). The closest short hexadecimal code of #558f1c is #581.
Example CSS code:
.setFontColor { color: #558f1c; }
.setBackgroundColor { background-color: #558f1c; }
How to set font color?
<p style="color:#558f1c">Font color is #558f1c.</p>
Font color is #558f1c.
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:#558f1c">Background color is #558f1c.</div>
Background color is #558f1c.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage