Hex color #8ff28c, RGB(143, 242, 140) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8ff28c is a shade of green. In a RGB color space it is composed of 56.08% red, 94.9% green and 54.9% blue. In HSL notation it has 118.2° hue, 79.7% saturation and 74.9% lightness. The process color (CMYK) is combination of 40.91% cyan, 0% magenta, 42.15% yellow and 5.10% key (black). The closest short hexadecimal code of #8ff28c is #8f8.
Example CSS code:
.setFontColor { color: #8ff28c; }
.setBackgroundColor { background-color: #8ff28c; }
How to set font color?
<p style="color:#8ff28c">Font color is #8ff28c.</p>
Font color is #8ff28c.
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:#8ff28c">Background color is #8ff28c.</div>
Background color is #8ff28c.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage