Hex color #4e1a0d, RGB(78, 26, 13) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4e1a0d is a shade of red. In a RGB color space it is composed of 30.59% red, 10.2% green and 5.1% blue. In HSL notation it has 12° hue, 71.4% saturation and 17.8% lightness. The process color (CMYK) is combination of 0% cyan, 66.67% magenta, 83.33% yellow and 69.41% key (black). The closest short hexadecimal code of #4e1a0d is #410.
Example CSS code:
.setFontColor { color: #4e1a0d; }
.setBackgroundColor { background-color: #4e1a0d; }
How to set font color?
<p style="color:#4e1a0d">Font color is #4e1a0d.</p>
Font color is #4e1a0d.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#4e1a0d">Background color is #4e1a0d.</div>
Background color is #4e1a0d.
Compromise in colors is grey.
- Edi Rama