Hex color #cd10cc, RGB(205, 16, 204) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cd10cc is a shade of magenta. In a RGB color space it is composed of 80.39% red, 6.27% green and 80% blue. In HSL notation it has 300.3° hue, 85.5% saturation and 43.3% lightness. The process color (CMYK) is combination of 0% cyan, 92.20% magenta, 0.49% yellow and 19.61% key (black). The closest short hexadecimal code of #cd10cc is #c1c.
Example CSS code:
.setFontColor { color: #cd10cc; }
.setBackgroundColor { background-color: #cd10cc; }
How to set font color?
<p style="color:#cd10cc">Font color is #cd10cc.</p>
Font color is #cd10cc.
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:#cd10cc">Background color is #cd10cc.</div>
Background color is #cd10cc.
Compromise in colors is grey.
- Edi Rama