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