Hex color #7511f5, RGB(117, 17, 245) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7511f5 is a shade of blue-magenta. In a RGB color space it is composed of 45.88% red, 6.67% green and 96.08% blue. In HSL notation it has 266.3° hue, 91.9% saturation and 51.4% lightness. The process color (CMYK) is combination of 52.24% cyan, 93.06% magenta, 0% yellow and 3.92% key (black). The closest short hexadecimal code of #7511f5 is #71f.
Example CSS code:
.setFontColor { color: #7511f5; }
.setBackgroundColor { background-color: #7511f5; }
How to set font color?
<p style="color:#7511f5">Font color is #7511f5.</p>
Font color is #7511f5.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#7511f5">Background color is #7511f5.</div>
Background color is #7511f5.
Compromise in colors is grey.
- Edi Rama