⤺ color picker

#cc30ff Color Hex

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.

Color information

  • #cc30ff is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 20%
    • Magenta: 81.18%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 285.2° degrees
    • Saturation: 100%
    • Lightness: 59.4%
  • The values in the RGB color space are:
    • Red: 204 (80%)
    • Green: 48 (18.82%)
    • Blue: 255 (100%)


C: 20%, M: 81.18%, Y: 0%, K: 0%
R: 204, G: 48, B: 255
H: 285.2°, S: 100%, L: 59.4%

Color harmonies

#cc30ff color HTML and CSS codes

Example CSS code:

.setFontColor { color: #cc30ff; }
.setBackgroundColor { background-color: #cc30ff; }

#cc30ff text/font color

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

#cc30ff background color

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