Hex color #287911, RGB(40, 121, 17) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #287911 is a shade of green. In a RGB color space it is composed of 15.69% red, 47.45% green and 6.67% blue. In HSL notation it has 106.7° hue, 75.4% saturation and 27.1% lightness. The process color (CMYK) is combination of 66.94% cyan, 0% magenta, 85.95% yellow and 52.55% key (black). The closest short hexadecimal code of #287911 is #271.
Example CSS code:
.setFontColor { color: #287911; }
.setBackgroundColor { background-color: #287911; }
How to set font color?
<p style="color:#287911">Font color is #287911.</p>
Font color is #287911.
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:#287911">Background color is #287911.</div>
Background color is #287911.
Compromise in colors is grey.
- Edi Rama