Hex color #cc30ff, RGB(204, 48, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #cc30ff is a shade of magenta. In a RGB color space it is composed of 80% red, 18.82% green and 100% blue. In HSL notation it has 285.2° hue, 100% saturation and 59.4% lightness. The process color (CMYK) is combination of 20% cyan, 81.18% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #cc30ff is #c3f.
Example CSS code:
.setFontColor { color: #cc30ff; }
.setBackgroundColor { background-color: #cc30ff; }
How to set font color?
<p style="color:#cc30ff">Font color is #cc30ff.</p>
Font color is #cc30ff.
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:#cc30ff">Background color is #cc30ff.</div>
Background color is #cc30ff.
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