Hex color #a6156d, RGB(166, 21, 109) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a6156d is a shade of red-magenta. In a RGB color space it is composed of 65.1% red, 8.24% green and 42.75% blue. In HSL notation it has 323.6° hue, 77.5% saturation and 36.7% lightness. The process color (CMYK) is combination of 0% cyan, 87.35% magenta, 34.34% yellow and 34.90% key (black). The closest short hexadecimal code of #a6156d is #a16.
Example CSS code:
.setFontColor { color: #a6156d; }
.setBackgroundColor { background-color: #a6156d; }
How to set font color?
<p style="color:#a6156d">Font color is #a6156d.</p>
Font color is #a6156d.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#a6156d">Background color is #a6156d.</div>
Background color is #a6156d.
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