Hex color #4a551a, RGB(74, 85, 26) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4a551a is a shade of yellow. In a RGB color space it is composed of 29.02% red, 33.33% green and 10.2% blue. In HSL notation it has 71.2° hue, 53.2% saturation and 21.8% lightness. The process color (CMYK) is combination of 12.94% cyan, 0% magenta, 69.41% yellow and 66.67% key (black). The closest short hexadecimal code of #4a551a is #451.
Example CSS code:
.setFontColor { color: #4a551a; }
.setBackgroundColor { background-color: #4a551a; }
How to set font color?
<p style="color:#4a551a">Font color is #4a551a.</p>
Font color is #4a551a.
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
How to set background color?
<div style="background-color:#4a551a">Background color is #4a551a.</div>
Background color is #4a551a.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage