Hex color #406840, RGB(64, 104, 64) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #406840 is a shade of green. In a RGB color space it is composed of 25.1% red, 40.78% green and 25.1% blue. In HSL notation it has 120° hue, 23.8% saturation and 32.9% lightness. The process color (CMYK) is combination of 38.46% cyan, 0% magenta, 38.46% yellow and 59.22% key (black). The closest short hexadecimal code of #406840 is #464.
Example CSS code:
.setFontColor { color: #406840; }
.setBackgroundColor { background-color: #406840; }
How to set font color?
<p style="color:#406840">Font color is #406840.</p>
Font color is #406840.
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:#406840">Background color is #406840.</div>
Background color is #406840.
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