Hex color #4e0d10, RGB(78, 13, 16) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4e0d10 is a shade of red. In a RGB color space it is composed of 30.59% red, 5.1% green and 6.27% blue. In HSL notation it has 357.2° hue, 71.4% saturation and 17.8% lightness. The process color (CMYK) is combination of 0% cyan, 83.33% magenta, 79.49% yellow and 69.41% key (black). The closest short hexadecimal code of #4e0d10 is #401.
Example CSS code:
.setFontColor { color: #4e0d10; }
.setBackgroundColor { background-color: #4e0d10; }
How to set font color?
<p style="color:#4e0d10">Font color is #4e0d10.</p>
Font color is #4e0d10.
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:#4e0d10">Background color is #4e0d10.</div>
Background color is #4e0d10.
Compromise in colors is grey.
- Edi Rama