Hex color #497800, RGB(73, 120, 0) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #497800 is a shade of green-yellow. In a RGB color space it is composed of 28.63% red, 47.06% green and 0% blue. In HSL notation it has 83.5° hue, 100% saturation and 23.5% lightness. The process color (CMYK) is combination of 39.17% cyan, 0% magenta, 100% yellow and 52.94% key (black). The closest short hexadecimal code of #497800 is #470.
Example CSS code:
.setFontColor { color: #497800; }
.setBackgroundColor { background-color: #497800; }
How to set font color?
<p style="color:#497800">Font color is #497800.</p>
Font color is #497800.
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:#497800">Background color is #497800.</div>
Background color is #497800.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage