Hex color #9b2d95, RGB(155, 45, 149) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9b2d95 is a shade of magenta. In a RGB color space it is composed of 60.78% red, 17.65% green and 58.43% blue. In HSL notation it has 303.3° hue, 55% saturation and 39.2% lightness. The process color (CMYK) is combination of 0% cyan, 70.97% magenta, 3.87% yellow and 39.22% key (black). The closest short hexadecimal code of #9b2d95 is #929.
Example CSS code:
.setFontColor { color: #9b2d95; }
.setBackgroundColor { background-color: #9b2d95; }
How to set font color?
<p style="color:#9b2d95">Font color is #9b2d95.</p>
Font color is #9b2d95.
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:#9b2d95">Background color is #9b2d95.</div>
Background color is #9b2d95.
Compromise in colors is grey.
- Edi Rama