Hex color #5a0b5b, RGB(90, 11, 91) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5a0b5b is a shade of magenta. In a RGB color space it is composed of 35.29% red, 4.31% green and 35.69% blue. In HSL notation it has 299.2° hue, 78.4% saturation and 20% lightness. The process color (CMYK) is combination of 1.10% cyan, 87.91% magenta, 0% yellow and 64.31% key (black). The closest short hexadecimal code of #5a0b5b is #505.
Example CSS code:
.setFontColor { color: #5a0b5b; }
.setBackgroundColor { background-color: #5a0b5b; }
How to set font color?
<p style="color:#5a0b5b">Font color is #5a0b5b.</p>
Font color is #5a0b5b.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#5a0b5b">Background color is #5a0b5b.</div>
Background color is #5a0b5b.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage