Hex color #5c0b7a, RGB(92, 11, 122) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5c0b7a is a shade of blue-magenta. In a RGB color space it is composed of 36.08% red, 4.31% green and 47.84% blue. In HSL notation it has 283.8° hue, 83.5% saturation and 26.1% lightness. The process color (CMYK) is combination of 24.59% cyan, 90.98% magenta, 0% yellow and 52.16% key (black). The closest short hexadecimal code of #5c0b7a is #507.
Example CSS code:
.setFontColor { color: #5c0b7a; }
.setBackgroundColor { background-color: #5c0b7a; }
How to set font color?
<p style="color:#5c0b7a">Font color is #5c0b7a.</p>
Font color is #5c0b7a.
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:#5c0b7a">Background color is #5c0b7a.</div>
Background color is #5c0b7a.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage