Hex color #7051ae, RGB(112, 81, 174) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7051ae is a shade of blue-magenta. In a RGB color space it is composed of 43.92% red, 31.76% green and 68.24% blue. In HSL notation it has 260° hue, 36.5% saturation and 50% lightness. The process color (CMYK) is combination of 35.63% cyan, 53.45% magenta, 0% yellow and 31.76% key (black). The closest short hexadecimal code of #7051ae is #75a.
Example CSS code:
.setFontColor { color: #7051ae; }
.setBackgroundColor { background-color: #7051ae; }
How to set font color?
<p style="color:#7051ae">Font color is #7051ae.</p>
Font color is #7051ae.
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:#7051ae">Background color is #7051ae.</div>
Background color is #7051ae.
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