Hex color #5c2e2e, RGB(92, 46, 46) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5c2e2e is a shade of red. In a RGB color space it is composed of 36.08% red, 18.04% green and 18.04% blue. In HSL notation it has 0° hue, 33.3% saturation and 27.1% lightness. The process color (CMYK) is combination of 0% cyan, 50% magenta, 50% yellow and 63.92% key (black). The closest short hexadecimal code of #5c2e2e is #522.
Example CSS code:
.setFontColor { color: #5c2e2e; }
.setBackgroundColor { background-color: #5c2e2e; }
How to set font color?
<p style="color:#5c2e2e">Font color is #5c2e2e.</p>
Font color is #5c2e2e.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#5c2e2e">Background color is #5c2e2e.</div>
Background color is #5c2e2e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage