Hex color #7b51e6, RGB(123, 81, 230) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7b51e6 is a shade of blue-magenta. In a RGB color space it is composed of 48.24% red, 31.76% green and 90.2% blue. In HSL notation it has 256.9° hue, 74.9% saturation and 61% lightness. The process color (CMYK) is combination of 46.52% cyan, 64.78% magenta, 0% yellow and 9.80% key (black). The closest short hexadecimal code of #7b51e6 is #75e.
Example CSS code:
.setFontColor { color: #7b51e6; }
.setBackgroundColor { background-color: #7b51e6; }
How to set font color?
<p style="color:#7b51e6">Font color is #7b51e6.</p>
Font color is #7b51e6.
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:#7b51e6">Background color is #7b51e6.</div>
Background color is #7b51e6.
Compromise in colors is grey.
- Edi Rama