Hex color #9a18c8, RGB(154, 24, 200) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9a18c8 is a shade of blue-magenta. In a RGB color space it is composed of 60.39% red, 9.41% green and 78.43% blue. In HSL notation it has 284.3° hue, 78.6% saturation and 43.9% lightness. The process color (CMYK) is combination of 23% cyan, 88% magenta, 0% yellow and 21.57% key (black). The closest short hexadecimal code of #9a18c8 is #91c.
Example CSS code:
.setFontColor { color: #9a18c8; }
.setBackgroundColor { background-color: #9a18c8; }
How to set font color?
<p style="color:#9a18c8">Font color is #9a18c8.</p>
Font color is #9a18c8.
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:#9a18c8">Background color is #9a18c8.</div>
Background color is #9a18c8.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage