HEX: #CC66CC
RGB: (204,102,204)
#CC66CC contains mainly red and blue colors. #CC66CC color is web safe color. It maybe written shortly as #C6C.
#CC66CC color RGB value is (204,102,204).
RGB: (204,102,204) (80%,40%,80%)
R 204 of 255 = 80%
G 102 of 255 = 40%
B 204 of 255 = 80%
R + G + B ~ 67%. #CC66CC is quite light color.
R + G + B =
204 + 102 + 204 = 510 (100%)
R 204 of 510 ~ 40%
G 102 of 510 ~ 20%
B 204 of 510 ~ 40%
#CC66CC color CMYK value is (0,50,0,20).
CMYK: (0,50,0,20) C0M50Y0K20 (0%,50%,0%,20%) (0.00/0.50/0.00/0.20)
CC | 66 | CC | |
---|---|---|---|
RGB | 204 | 102 | 204 |
HSL | 300° | 50.00% | 60.00% |
HSB/HSV | 300° | 50.00% | 80.00% |
CMYK | 0.00% | 50.00% | 0.00% |
20.00% |
HEX | CC | 66 | CC |
Decimal | 204 | 102 | 204 |
Binary | 11001100 | 1100110 | 11001100 |
Octal | 314 | 146 | 314 |
Examples of css and html codes for elements with #CC66CC color. Also use rgb(204,102,204) instead hex code.
.myTextColor { color: #CC66CC; }
<p style="color:#CC66CC">This sample text font color is #CC66CC.</p>
This text font color is #CC66CC.
.myBgColor { background-color: #CC66CC; }
<div style="background-color:#CC66CC">Inner text</div>
This div background color is #CC66CC.
.myBorderColor { border: 1px solid #CC66CC; }
<div style="border:3px solid #CC66CC">Div</div>
This div border color is #CC66CC.
.myOpacity80 { color: #CC66CC; opacity: 0.8; }
<p style="color:#CC66CC;opacity:0.8;">80%</p>
Text with #CC66CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC66CC;}
<p style="text-shadow: 3px 3px 1px #CC66CC">Text here.</p>
This text has shadow with #CC66CC color.
.textShadow {text-shadow: 3px 3px 1px #CC66CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC66CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC66CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC66CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC66CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC66CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC66CC; -webkit-box-shadow: 1px 1px 3px 2px #CC66CC; box-shadow: 1px 1px 3px 2px #CC66CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC66CC; -webkit-box-shadow: 1px 1px 3px 2px #CC66CC; box-shadow:1px 1px 3px 2px #CC66CC;">
Div content here</div>
This text has color #CC66CC on black background.
This text has color #CC66CC on white background.
This text has black color on #CC66CC background.
This text has white color on #CC66CC background.