Hex color #872cd3, RGB(135, 44, 211) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #872cd3 is a shade of blue-magenta. In a RGB color space it is composed of 52.94% red, 17.25% green and 82.75% blue. In HSL notation it has 272.7° hue, 65.5% saturation and 50% lightness. The process color (CMYK) is combination of 36.02% cyan, 79.15% magenta, 0% yellow and 17.25% key (black). The closest short hexadecimal code of #872cd3 is #82d.
Example CSS code:
.setFontColor { color: #872cd3; }
.setBackgroundColor { background-color: #872cd3; }
How to set font color?
<p style="color:#872cd3">Font color is #872cd3.</p>
Font color is #872cd3.
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:#872cd3">Background color is #872cd3.</div>
Background color is #872cd3.
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