Hex color #b2128b, RGB(178, 18, 139) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #b2128b is a shade of magenta. In a RGB color space it is composed of 69.8% red, 7.06% green and 54.51% blue. In HSL notation it has 314.6° hue, 81.6% saturation and 38.4% lightness. The process color (CMYK) is combination of 0% cyan, 89.89% magenta, 21.91% yellow and 30.20% key (black). The closest short hexadecimal code of #b2128b is #b18.
Example CSS code:
.setFontColor { color: #b2128b; }
.setBackgroundColor { background-color: #b2128b; }
How to set font color?
<p style="color:#b2128b">Font color is #b2128b.</p>
Font color is #b2128b.
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:#b2128b">Background color is #b2128b.</div>
Background color is #b2128b.
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