Hex color #5617ba, RGB(86, 23, 186) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5617ba is a shade of blue-magenta. In a RGB color space it is composed of 33.73% red, 9.02% green and 72.94% blue. In HSL notation it has 263.2° hue, 78% saturation and 41% lightness. The process color (CMYK) is combination of 53.76% cyan, 87.63% magenta, 0% yellow and 27.06% key (black). The closest short hexadecimal code of #5617ba is #51b.
Example CSS code:
.setFontColor { color: #5617ba; }
.setBackgroundColor { background-color: #5617ba; }
How to set font color?
<p style="color:#5617ba">Font color is #5617ba.</p>
Font color is #5617ba.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#5617ba">Background color is #5617ba.</div>
Background color is #5617ba.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage