Hex color #7e780f, RGB(126, 120, 15) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7e780f is a shade of yellow. In a RGB color space it is composed of 49.41% red, 47.06% green and 5.88% blue. In HSL notation it has 56.8° hue, 78.7% saturation and 27.6% lightness. The process color (CMYK) is combination of 0% cyan, 4.76% magenta, 88.10% yellow and 50.59% key (black). The closest short hexadecimal code of #7e780f is #770.
Example CSS code:
.setFontColor { color: #7e780f; }
.setBackgroundColor { background-color: #7e780f; }
How to set font color?
<p style="color:#7e780f">Font color is #7e780f.</p>
Font color is #7e780f.
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:#7e780f">Background color is #7e780f.</div>
Background color is #7e780f.
Compromise in colors is grey.
- Edi Rama