Hex color #b821ad, RGB(184, 33, 173) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #b821ad is a shade of magenta. In a RGB color space it is composed of 72.16% red, 12.94% green and 67.84% blue. In HSL notation it has 304.4° hue, 69.6% saturation and 42.5% lightness. The process color (CMYK) is combination of 0% cyan, 82.07% magenta, 5.98% yellow and 27.84% key (black). The closest short hexadecimal code of #b821ad is #b2a.
Example CSS code:
.setFontColor { color: #b821ad; }
.setBackgroundColor { background-color: #b821ad; }
How to set font color?
<p style="color:#b821ad">Font color is #b821ad.</p>
Font color is #b821ad.
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:#b821ad">Background color is #b821ad.</div>
Background color is #b821ad.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage