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