Hex color #42571c, RGB(66, 87, 28) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #42571c is a shade of green-yellow. In a RGB color space it is composed of 25.88% red, 34.12% green and 10.98% blue. In HSL notation it has 81.4° hue, 51.3% saturation and 22.5% lightness. The process color (CMYK) is combination of 24.14% cyan, 0% magenta, 67.82% yellow and 65.88% key (black). The closest short hexadecimal code of #42571c is #451.
Example CSS code:
.setFontColor { color: #42571c; }
.setBackgroundColor { background-color: #42571c; }
How to set font color?
<p style="color:#42571c">Font color is #42571c.</p>
Font color is #42571c.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#42571c">Background color is #42571c.</div>
Background color is #42571c.
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