Hex color #314712, RGB(49, 71, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #314712 is a shade of green-yellow. In a RGB color space it is composed of 19.22% red, 27.84% green and 7.06% blue. In HSL notation it has 84.9° hue, 59.6% saturation and 17.5% lightness. The process color (CMYK) is combination of 30.99% cyan, 0% magenta, 74.65% yellow and 72.16% key (black). The closest short hexadecimal code of #314712 is #341.
Example CSS code:
.setFontColor { color: #314712; }
.setBackgroundColor { background-color: #314712; }
How to set font color?
<p style="color:#314712">Font color is #314712.</p>
Font color is #314712.
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:#314712">Background color is #314712.</div>
Background color is #314712.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage