Hex color #4f6f2e, RGB(79, 111, 46) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4f6f2e is a shade of green-yellow. In a RGB color space it is composed of 30.98% red, 43.53% green and 18.04% blue. In HSL notation it has 89.5° hue, 41.4% saturation and 30.8% lightness. The process color (CMYK) is combination of 28.83% cyan, 0% magenta, 58.56% yellow and 56.47% key (black). The closest short hexadecimal code of #4f6f2e is #462.
Example CSS code:
.setFontColor { color: #4f6f2e; }
.setBackgroundColor { background-color: #4f6f2e; }
How to set font color?
<p style="color:#4f6f2e">Font color is #4f6f2e.</p>
Font color is #4f6f2e.
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:#4f6f2e">Background color is #4f6f2e.</div>
Background color is #4f6f2e.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant