In the RGB color space, #CC00CC is composed of 80% red, 0% green, and 80% blue.
In the CMYK color space, #CC00CC is composed of 0% cyan, 100% magenta, 0% yellow, and 20.0% black,
It has a hue angle of 300 degrees, a saturation of 100%, and a lightness of 40%.
This is a websafe color.
The hexadecimal color #CC00CC has RGB values of R:204, G:0, B:204 and CMYK values of C:0, M:100, Y:0, K:20. It has a decimal value of 13369548.
Hexadecimal | #CC00CC | #CC00CC |
RGB Decimal | 204, 0, 204 | rgb(204, 0, 204) |
RGB Percent | 80, 0, 80 | rgb(80%, 0%, 80%) |
RGB Proportion | 0.8, 0.0, 0.8 | rgb(0.8, 0.0, 0.8) |
CMYK | 0, 100, 0, 20 | |
HSL | 300ยบ, 100, 40 | hsl(300, 100%, 40%) |
Websafe | CC00CC | #CC00CC |
XYZ | 35.801, 17.197, 58.559 | |
Yxy | 17.197, 0.321, 0.154 | |
CIE-LAB | 48.507, 83.047, -51.426 | |
CIE-LCH | 48.507, 97.68, 328.233 | |
CIE-LUV | 48.507, 67.61, -87.422 | |
Hunter-Lab | 41.469, 81.53, -54.695 |
Colors that go well with #CC00CC.
Common HTML and CSS shortcodes for #CC00CC.
<div style="color: #CC00CC;">The quick brown fox jumps over the lazy dog.</div>
<div style="background-color: #CC00CC;">The quick brown fox jumps over the lazy dog.</div>
<div style="border: 1px solid #CC00CC;">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #CC00CC to transparent.
<div style="background: linear-gradient(#CC00CC, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #CC00CC to transparent.
<div style="background: radial-gradient(#CC00CC, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #CC00CC to #33FF33.
<div style="background: linear-gradient(#CC00CC, #33FF33);">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #CC00CC to #33FF33.
<div style="background: radial-gradient(#CC00CC, #33FF33);">The quick brown fox jumps over the lazy dog.</div>
Handy CSS code and shortcuts.
.text { color: #CC00CC; }
.background { background-color: #CC00CC; }
.border { border: 1px solid #CC00CC; }
.linear-gradient { background: linear-gradient(#faf310, rgba(255, 255, 255, 0)); }
.radial-gradient { background: radial-gradient(#faf310, rgba(255, 255, 255, 0)); }
Shades are created by adding black to the color, while a tint is created by mixing white. The darkest shade in this example is #040004 while the lightest tint is #FEFAFE.