Hex color #6522a0, RGB(101, 34, 160) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6522a0 is a shade of blue-magenta. In a RGB color space it is composed of 39.61% red, 13.33% green and 62.75% blue. In HSL notation it has 271.9° hue, 64.9% saturation and 38% lightness. The process color (CMYK) is combination of 36.88% cyan, 78.75% magenta, 0% yellow and 37.25% key (black). The closest short hexadecimal code of #6522a0 is #62a.
Example CSS code:
.setFontColor { color: #6522a0; }
.setBackgroundColor { background-color: #6522a0; }
How to set font color?
<p style="color:#6522a0">Font color is #6522a0.</p>
Font color is #6522a0.
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:#6522a0">Background color is #6522a0.</div>
Background color is #6522a0.
Compromise in colors is grey.
- Edi Rama