Hex color #797215, RGB(121, 114, 21) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #797215 is a shade of yellow. In a RGB color space it is composed of 47.45% red, 44.71% green and 8.24% blue. In HSL notation it has 55.8° hue, 70.4% saturation and 27.8% lightness. The process color (CMYK) is combination of 0% cyan, 5.79% magenta, 82.64% yellow and 52.55% key (black). The closest short hexadecimal code of #797215 is #771.
Example CSS code:
.setFontColor { color: #797215; }
.setBackgroundColor { background-color: #797215; }
How to set font color?
<p style="color:#797215">Font color is #797215.</p>
Font color is #797215.
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:#797215">Background color is #797215.</div>
Background color is #797215.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage