Hex color #a818b7, RGB(168, 24, 183) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a818b7 is a shade of magenta. In a RGB color space it is composed of 65.88% red, 9.41% green and 71.76% blue. In HSL notation it has 294.3° hue, 76.8% saturation and 40.6% lightness. The process color (CMYK) is combination of 8.20% cyan, 86.89% magenta, 0% yellow and 28.24% key (black). The closest short hexadecimal code of #a818b7 is #a1b.
Example CSS code:
.setFontColor { color: #a818b7; }
.setBackgroundColor { background-color: #a818b7; }
How to set font color?
<p style="color:#a818b7">Font color is #a818b7.</p>
Font color is #a818b7.
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:#a818b7">Background color is #a818b7.</div>
Background color is #a818b7.
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