Hex color #c0a1fc, RGB(192, 161, 252) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c0a1fc is a shade of blue-magenta. In a RGB color space it is composed of 75.29% red, 63.14% green and 98.82% blue. In HSL notation it has 260.4° hue, 93.8% saturation and 81% lightness. The process color (CMYK) is combination of 23.81% cyan, 36.11% magenta, 0% yellow and 1.18% key (black). The closest short hexadecimal code of #c0a1fc is #caf.
Example CSS code:
.setFontColor { color: #c0a1fc; }
.setBackgroundColor { background-color: #c0a1fc; }
How to set font color?
<p style="color:#c0a1fc">Font color is #c0a1fc.</p>
Font color is #c0a1fc.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#c0a1fc">Background color is #c0a1fc.</div>
Background color is #c0a1fc.
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