Hex color #7818c1, RGB(120, 24, 193) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7818c1 is a shade of blue-magenta. In a RGB color space it is composed of 47.06% red, 9.41% green and 75.69% blue. In HSL notation it has 274.1° hue, 77.9% saturation and 42.5% lightness. The process color (CMYK) is combination of 37.82% cyan, 87.56% magenta, 0% yellow and 24.31% key (black). The closest short hexadecimal code of #7818c1 is #71c.
Example CSS code:
.setFontColor { color: #7818c1; }
.setBackgroundColor { background-color: #7818c1; }
How to set font color?
<p style="color:#7818c1">Font color is #7818c1.</p>
Font color is #7818c1.
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:#7818c1">Background color is #7818c1.</div>
Background color is #7818c1.
Compromise in colors is grey.
- Edi Rama