Hex color #ab3099, RGB(171, 48, 153) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ab3099 is a shade of magenta. In a RGB color space it is composed of 67.06% red, 18.82% green and 60% blue. In HSL notation it has 308.8° hue, 56.2% saturation and 42.9% lightness. The process color (CMYK) is combination of 0% cyan, 71.93% magenta, 10.53% yellow and 32.94% key (black). The closest short hexadecimal code of #ab3099 is #a39.
Example CSS code:
.setFontColor { color: #ab3099; }
.setBackgroundColor { background-color: #ab3099; }
How to set font color?
<p style="color:#ab3099">Font color is #ab3099.</p>
Font color is #ab3099.
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:#ab3099">Background color is #ab3099.</div>
Background color is #ab3099.
Compromise in colors is grey.
- Edi Rama