Hex color #cc5ee4, RGB(204, 94, 228) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cc5ee4 is a shade of magenta. In a RGB color space it is composed of 80% red, 36.86% green and 89.41% blue. In HSL notation it has 289.3° hue, 71.3% saturation and 63.1% lightness. The process color (CMYK) is combination of 10.53% cyan, 58.77% magenta, 0% yellow and 10.59% key (black). The closest short hexadecimal code of #cc5ee4 is #c5e.
Example CSS code:
.setFontColor { color: #cc5ee4; }
.setBackgroundColor { background-color: #cc5ee4; }
How to set font color?
<p style="color:#cc5ee4">Font color is #cc5ee4.</p>
Font color is #cc5ee4.
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:#cc5ee4">Background color is #cc5ee4.</div>
Background color is #cc5ee4.
Compromise in colors is grey.
- Edi Rama