Hex color #cca3f2, RGB(204, 163, 242) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cca3f2 is a shade of blue-magenta. In a RGB color space it is composed of 80% red, 63.92% green and 94.9% blue. In HSL notation it has 271.1° hue, 75.2% saturation and 79.4% lightness. The process color (CMYK) is combination of 15.70% cyan, 32.64% magenta, 0% yellow and 5.10% key (black). The closest short hexadecimal code of #cca3f2 is #caf.
Example CSS code:
.setFontColor { color: #cca3f2; }
.setBackgroundColor { background-color: #cca3f2; }
How to set font color?
<p style="color:#cca3f2">Font color is #cca3f2.</p>
Font color is #cca3f2.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#cca3f2">Background color is #cca3f2.</div>
Background color is #cca3f2.
Compromise in colors is grey.
- Edi Rama