Hex color #a50ea5, RGB(165, 14, 165) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a50ea5 is a shade of magenta. In a RGB color space it is composed of 64.71% red, 5.49% green and 64.71% blue. In HSL notation it has 300° hue, 84.4% saturation and 35.1% lightness. The process color (CMYK) is combination of 0% cyan, 91.52% magenta, 0% yellow and 35.29% key (black). The closest short hexadecimal code of #a50ea5 is #a0a.
Example CSS code:
.setFontColor { color: #a50ea5; }
.setBackgroundColor { background-color: #a50ea5; }
How to set font color?
<p style="color:#a50ea5">Font color is #a50ea5.</p>
Font color is #a50ea5.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#a50ea5">Background color is #a50ea5.</div>
Background color is #a50ea5.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage