Hex color #556941, RGB(85, 105, 65) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #556941 is a shade of green-yellow. In a RGB color space it is composed of 33.33% red, 41.18% green and 25.49% blue. In HSL notation it has 90° hue, 23.5% saturation and 33.3% lightness. The process color (CMYK) is combination of 19.05% cyan, 0% magenta, 38.10% yellow and 58.82% key (black). The closest short hexadecimal code of #556941 is #564.
Example CSS code:
.setFontColor { color: #556941; }
.setBackgroundColor { background-color: #556941; }
How to set font color?
<p style="color:#556941">Font color is #556941.</p>
Font color is #556941.
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:#556941">Background color is #556941.</div>
Background color is #556941.
Compromise in colors is grey.
- Edi Rama