Hex color #7521f5, RGB(117, 33, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7521f5 is a shade of blue-magenta. In a RGB color space it is composed of 45.88% red, 12.94% green and 96.08% blue. In HSL notation it has 263.8° hue, 91.4% saturation and 54.5% lightness. The process color (CMYK) is combination of 52.24% cyan, 86.53% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #7521f5 is #72f.
Example CSS code:
.setFontColor { color: #7521f5; }
.setBackgroundColor { background-color: #7521f5; }
How to set font color?
<p style="color:#7521f5">Font color is #7521f5.</p>
Font color is #7521f5.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#7521f5">Background color is #7521f5.</div>
Background color is #7521f5.
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