Hex color #b551c6, RGB(181, 81, 198) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #b551c6 is a shade of magenta. In a RGB color space it is composed of 70.98% red, 31.76% green and 77.65% blue. In HSL notation it has 291.3° hue, 50.6% saturation and 54.7% lightness. The process color (CMYK) is combination of 8.59% cyan, 59.09% magenta, 0% yellow and 22.35% key (black). The closest short hexadecimal code of #b551c6 is #b5c.
Example CSS code:
.setFontColor { color: #b551c6; }
.setBackgroundColor { background-color: #b551c6; }
How to set font color?
<p style="color:#b551c6">Font color is #b551c6.</p>
Font color is #b551c6.
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
How to set background color?
<div style="background-color:#b551c6">Background color is #b551c6.</div>
Background color is #b551c6.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage