Hex color #56062e, RGB(86, 6, 46) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #56062e is a shade of red-magenta. In a RGB color space it is composed of 33.73% red, 2.35% green and 18.04% blue. In HSL notation it has 330° hue, 87% saturation and 18% lightness. The process color (CMYK) is combination of 0% cyan, 93.02% magenta, 46.51% yellow and 66.27% key (black). The closest short hexadecimal code of #56062e is #502.
Example CSS code:
.setFontColor { color: #56062e; }
.setBackgroundColor { background-color: #56062e; }
How to set font color?
<p style="color:#56062e">Font color is #56062e.</p>
Font color is #56062e.
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:#56062e">Background color is #56062e.</div>
Background color is #56062e.
Compromise in colors is grey.
- Edi Rama