Hex color #a156a7, RGB(161, 86, 167) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a156a7 is a shade of magenta. In a RGB color space it is composed of 63.14% red, 33.73% green and 65.49% blue. In HSL notation it has 295.6° hue, 32% saturation and 49.6% lightness. The process color (CMYK) is combination of 3.59% cyan, 48.50% magenta, 0% yellow and 34.51% key (black). The closest short hexadecimal code of #a156a7 is #a5a.
Example CSS code:
.setFontColor { color: #a156a7; }
.setBackgroundColor { background-color: #a156a7; }
How to set font color?
<p style="color:#a156a7">Font color is #a156a7.</p>
Font color is #a156a7.
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:#a156a7">Background color is #a156a7.</div>
Background color is #a156a7.
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