Hex color #a3118f, RGB(163, 17, 143) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a3118f is a shade of magenta. In a RGB color space it is composed of 63.92% red, 6.67% green and 56.08% blue. In HSL notation it has 308.2° hue, 81.1% saturation and 35.3% lightness. The process color (CMYK) is combination of 0% cyan, 89.57% magenta, 12.27% yellow and 36.08% key (black). The closest short hexadecimal code of #a3118f is #a18.
Example CSS code:
.setFontColor { color: #a3118f; }
.setBackgroundColor { background-color: #a3118f; }
How to set font color?
<p style="color:#a3118f">Font color is #a3118f.</p>
Font color is #a3118f.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#a3118f">Background color is #a3118f.</div>
Background color is #a3118f.
Compromise in colors is grey.
- Edi Rama