Hex color #4a6b1b, RGB(74, 107, 27) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4a6b1b is a shade of green-yellow. In a RGB color space it is composed of 29.02% red, 41.96% green and 10.59% blue. In HSL notation it has 84.8° hue, 59.7% saturation and 26.3% lightness. The process color (CMYK) is combination of 30.84% cyan, 0% magenta, 74.77% yellow and 58.04% key (black). The closest short hexadecimal code of #4a6b1b is #461.
Example CSS code:
.setFontColor { color: #4a6b1b; }
.setBackgroundColor { background-color: #4a6b1b; }
How to set font color?
<p style="color:#4a6b1b">Font color is #4a6b1b.</p>
Font color is #4a6b1b.
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:#4a6b1b">Background color is #4a6b1b.</div>
Background color is #4a6b1b.
Compromise in colors is grey.
- Edi Rama