Hex color #339d28, RGB(51, 157, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #339d28 is a shade of green. In a RGB color space it is composed of 20% red, 61.57% green and 15.69% blue. In HSL notation it has 114.4° hue, 59.4% saturation and 38.6% lightness. The process color (CMYK) is combination of 67.52% cyan, 0% magenta, 74.52% yellow and 38.43% key (black). The closest short hexadecimal code of #339d28 is #392.
Example CSS code:
.setFontColor { color: #339d28; }
.setBackgroundColor { background-color: #339d28; }
How to set font color?
<p style="color:#339d28">Font color is #339d28.</p>
Font color is #339d28.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#339d28">Background color is #339d28.</div>
Background color is #339d28.
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