Hex color #4d152a, RGB(77, 21, 42) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4d152a is a shade of red-magenta. In a RGB color space it is composed of 30.2% red, 8.24% green and 16.47% blue. In HSL notation it has 337.5° hue, 57.1% saturation and 19.2% lightness. The process color (CMYK) is combination of 0% cyan, 72.73% magenta, 45.45% yellow and 69.80% key (black). The closest short hexadecimal code of #4d152a is #412.
Example CSS code:
.setFontColor { color: #4d152a; }
.setBackgroundColor { background-color: #4d152a; }
How to set font color?
<p style="color:#4d152a">Font color is #4d152a.</p>
Font color is #4d152a.
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:#4d152a">Background color is #4d152a.</div>
Background color is #4d152a.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage