Hex color #af00b3, RGB(175, 0, 179) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #af00b3 is a shade of magenta. In a RGB color space it is composed of 68.63% red, 0% green and 70.2% blue. In HSL notation it has 298.7° hue, 100% saturation and 35.1% lightness. The process color (CMYK) is combination of 2.23% cyan, 100% magenta, 0% yellow and 29.80% key (black). The closest short hexadecimal code of #af00b3 is #a0b.
Example CSS code:
.setFontColor { color: #af00b3; }
.setBackgroundColor { background-color: #af00b3; }
How to set font color?
<p style="color:#af00b3">Font color is #af00b3.</p>
Font color is #af00b3.
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:#af00b3">Background color is #af00b3.</div>
Background color is #af00b3.
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