Hex color #c08af6, RGB(192, 138, 246) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #c08af6 is a shade of blue-magenta. In a RGB color space it is composed of 75.29% red, 54.12% green and 96.47% blue. In HSL notation it has 270° hue, 85.7% saturation and 75.3% lightness. The process color (CMYK) is combination of 21.95% cyan, 43.90% magenta, 0% yellow and 3.53% key (black). The closest short hexadecimal code of #c08af6 is #c8f.
Example CSS code:
.setFontColor { color: #c08af6; }
.setBackgroundColor { background-color: #c08af6; }
How to set font color?
<p style="color:#c08af6">Font color is #c08af6.</p>
Font color is #c08af6.
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
How to set background color?
<div style="background-color:#c08af6">Background color is #c08af6.</div>
Background color is #c08af6.
Compromise in colors is grey.
- Edi Rama