Hex color #a674cb, RGB(166, 116, 203) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a674cb is a shade of blue-magenta. In a RGB color space it is composed of 65.1% red, 45.49% green and 79.61% blue. In HSL notation it has 274.5° hue, 45.5% saturation and 62.5% lightness. The process color (CMYK) is combination of 18.23% cyan, 42.86% magenta, 0% yellow and 20.39% key (black). The closest short hexadecimal code of #a674cb is #a7c.
Example CSS code:
.setFontColor { color: #a674cb; }
.setBackgroundColor { background-color: #a674cb; }
How to set font color?
<p style="color:#a674cb">Font color is #a674cb.</p>
Font color is #a674cb.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#a674cb">Background color is #a674cb.</div>
Background color is #a674cb.
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