Hex color #cd2cc8, RGB(205, 44, 200) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cd2cc8 is a shade of magenta. In a RGB color space it is composed of 80.39% red, 17.25% green and 78.43% blue. In HSL notation it has 301.9° hue, 64.7% saturation and 48.8% lightness. The process color (CMYK) is combination of 0% cyan, 78.54% magenta, 2.44% yellow and 19.61% key (black). The closest short hexadecimal code of #cd2cc8 is #c2c.
Example CSS code:
.setFontColor { color: #cd2cc8; }
.setBackgroundColor { background-color: #cd2cc8; }
How to set font color?
<p style="color:#cd2cc8">Font color is #cd2cc8.</p>
Font color is #cd2cc8.
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:#cd2cc8">Background color is #cd2cc8.</div>
Background color is #cd2cc8.
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