HEX: #CC99CC
RGB: (204,153,204)
#CC99CC contains red, green and blue colors in about the same proportion. #CC99CC color is web safe color. It maybe written shortly as #C9C.
#CC99CC color RGB value is (204,153,204).
RGB: (204,153,204) (80%,60%,80%)
R 204 of 255 = 80%
G 153 of 255 = 60%
B 204 of 255 = 80%
R + G + B ~ 73%. #CC99CC is quite light color.
R + G + B =
204 + 153 + 204 = 561 (100%)
R 204 of 561 ~ 36.36%
G 153 of 561 ~ 27.27%
B 204 of 561 ~ 36.36%
#CC99CC color CMYK value is (0,25,0,20).
CMYK: (0,25,0,20) C0M25Y0K20 (0%,25%,0%,20%) (0.00/0.25/0.00/0.20)
CC | 99 | CC | |
---|---|---|---|
RGB | 204 | 153 | 204 |
HSL | 300° | 33.33% | 70.00% |
HSB/HSV | 300° | 25.00% | 80.00% |
CMYK | 0.00% | 25.00% | 0.00% |
20.00% |
HEX | CC | 99 | CC |
Decimal | 204 | 153 | 204 |
Binary | 11001100 | 10011001 | 11001100 |
Octal | 314 | 231 | 314 |
Examples of css and html codes for elements with #CC99CC color. Also use rgb(204,153,204) instead hex code.
.myTextColor { color: #CC99CC; }
<p style="color:#CC99CC">This sample text font color is #CC99CC.</p>
This text font color is #CC99CC.
.myBgColor { background-color: #CC99CC; }
<div style="background-color:#CC99CC">Inner text</div>
This div background color is #CC99CC.
.myBorderColor { border: 1px solid #CC99CC; }
<div style="border:3px solid #CC99CC">Div</div>
This div border color is #CC99CC.
.myOpacity80 { color: #CC99CC; opacity: 0.8; }
<p style="color:#CC99CC;opacity:0.8;">80%</p>
Text with #CC99CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC99CC;}
<p style="text-shadow: 3px 3px 1px #CC99CC">Text here.</p>
This text has shadow with #CC99CC color.
.textShadow {text-shadow: 3px 3px 1px #CC99CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC99CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC99CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC99CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC99CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC99CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC99CC; -webkit-box-shadow: 1px 1px 3px 2px #CC99CC; box-shadow: 1px 1px 3px 2px #CC99CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC99CC; -webkit-box-shadow: 1px 1px 3px 2px #CC99CC; box-shadow:1px 1px 3px 2px #CC99CC;">
Div content here</div>
This text has color #CC99CC on black background.
This text has color #CC99CC on white background.
This text has black color on #CC99CC background.
This text has white color on #CC99CC background.