Hex color #7e1f52, RGB(126, 31, 82) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7e1f52 is a shade of red-magenta. In a RGB color space it is composed of 49.41% red, 12.16% green and 32.16% blue. In HSL notation it has 327.8° hue, 60.5% saturation and 30.8% lightness. The process color (CMYK) is combination of 0% cyan, 75.40% magenta, 34.92% yellow and 50.59% key (black). The closest short hexadecimal code of #7e1f52 is #715.
Example CSS code:
.setFontColor { color: #7e1f52; }
.setBackgroundColor { background-color: #7e1f52; }
How to set font color?
<p style="color:#7e1f52">Font color is #7e1f52.</p>
Font color is #7e1f52.
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:#7e1f52">Background color is #7e1f52.</div>
Background color is #7e1f52.
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