Hex color #8b17ff, RGB(139, 23, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8b17ff is a shade of blue-magenta. In a RGB color space it is composed of 54.51% red, 9.02% green and 100% blue. In HSL notation it has 270° hue, 100% saturation and 54.5% lightness. The process color (CMYK) is combination of 45.49% cyan, 90.98% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #8b17ff is #81f.
Example CSS code:
.setFontColor { color: #8b17ff; }
.setBackgroundColor { background-color: #8b17ff; }
How to set font color?
<p style="color:#8b17ff">Font color is #8b17ff.</p>
Font color is #8b17ff.
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:#8b17ff">Background color is #8b17ff.</div>
Background color is #8b17ff.
Compromise in colors is grey.
- Edi Rama