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