Hex color #4e7022, RGB(78, 112, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4e7022 is a shade of green-yellow. In a RGB color space it is composed of 30.59% red, 43.92% green and 13.33% blue. In HSL notation it has 86.2° hue, 53.4% saturation and 28.6% lightness. The process color (CMYK) is combination of 30.36% cyan, 0% magenta, 69.64% yellow and 56.08% key (black). The closest short hexadecimal code of #4e7022 is #472.
Example CSS code:
.setFontColor { color: #4e7022; }
.setBackgroundColor { background-color: #4e7022; }
How to set font color?
<p style="color:#4e7022">Font color is #4e7022.</p>
Font color is #4e7022.
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:#4e7022">Background color is #4e7022.</div>
Background color is #4e7022.
Compromise in colors is grey.
- Edi Rama