Hex color #504838, RGB(80, 72, 56) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #504838 is a shade of red-yellow. In a RGB color space it is composed of 31.37% red, 28.24% green and 21.96% blue. In HSL notation it has 40° hue, 17.6% saturation and 26.7% lightness. The process color (CMYK) is combination of 0% cyan, 10% magenta, 30% yellow and 68.63% key (black). The closest short hexadecimal code of #504838 is #543.
Example CSS code:
.setFontColor { color: #504838; }
.setBackgroundColor { background-color: #504838; }
How to set font color?
<p style="color:#504838">Font color is #504838.</p>
Font color is #504838.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#504838">Background color is #504838.</div>
Background color is #504838.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage