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