Hex color #a312b5, RGB(163, 18, 181) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a312b5 is a shade of magenta. In a RGB color space it is composed of 63.92% red, 7.06% green and 70.98% blue. In HSL notation it has 293.4° hue, 81.9% saturation and 39% lightness. The process color (CMYK) is combination of 9.94% cyan, 90.06% magenta, 0% yellow and 29.02% key (black). The closest short hexadecimal code of #a312b5 is #a1b.
Example CSS code:
.setFontColor { color: #a312b5; }
.setBackgroundColor { background-color: #a312b5; }
How to set font color?
<p style="color:#a312b5">Font color is #a312b5.</p>
Font color is #a312b5.
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:#a312b5">Background color is #a312b5.</div>
Background color is #a312b5.
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