Hex color #731f66, RGB(115, 31, 102) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #731f66 is a shade of magenta. In a RGB color space it is composed of 45.1% red, 12.16% green and 40% blue. In HSL notation it has 309.3° hue, 57.5% saturation and 28.6% lightness. The process color (CMYK) is combination of 0% cyan, 73.04% magenta, 11.30% yellow and 54.90% key (black). The closest short hexadecimal code of #731f66 is #716.
Example CSS code:
.setFontColor { color: #731f66; }
.setBackgroundColor { background-color: #731f66; }
How to set font color?
<p style="color:#731f66">Font color is #731f66.</p>
Font color is #731f66.
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:#731f66">Background color is #731f66.</div>
Background color is #731f66.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage