HEX: #CC96DF
RGB: (204,150,223)
#CC96DF contains mainly red and blue colors. Web safe color of #CC96DF is #CC99CC (or #C9C).
#CC96DF color RGB value is (204,150,223).
RGB: (204,150,223) (80%,59%,87%)
R 204 of 255 = 80%
G 150 of 255 = 59%
B 223 of 255 = 87%
R + G + B ~ 75%. #CC96DF is quite light color.
R + G + B =
204 + 150 + 223 = 577 (100%)
R 204 of 577 ~ 35.36%
G 150 of 577 ~ 26%
B 223 of 577 ~ 38.65%
#CC96DF color CMYK value is (9,33,0,13).
CMYK: (9,33,0,13) C9M33Y0K13 (9%,33%,0%,13%) (0.09/0.33/0.00/0.13)
CC | 96 | DF | |
---|---|---|---|
RGB | 204 | 150 | 223 |
HSL | 284° | 53.28% | 73.14% |
HSB/HSV | 284° | 32.74% | 87.45% |
CMYK | 8.52% | 32.74% | 0.00% |
12.55% |
HEX | CC | 96 | DF |
Decimal | 204 | 150 | 223 |
Binary | 11001100 | 10010110 | 11011111 |
Octal | 314 | 226 | 337 |
Examples of css and html codes for elements with #CC96DF color. Also use rgb(204,150,223) instead hex code.
.myTextColor { color: #CC96DF; }
<p style="color:#CC96DF">This sample text font color is #CC96DF.</p>
This text font color is #CC96DF.
.myBgColor { background-color: #CC96DF; }
<div style="background-color:#CC96DF">Inner text</div>
This div background color is #CC96DF.
.myBorderColor { border: 1px solid #CC96DF; }
<div style="border:3px solid #CC96DF">Div</div>
This div border color is #CC96DF.
.myOpacity80 { color: #CC96DF; opacity: 0.8; }
<p style="color:#CC96DF;opacity:0.8;">80%</p>
Text with #CC96DF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CC96DF;}
<p style="text-shadow: 3px 3px 1px #CC96DF">Text here.</p>
This text has shadow with #CC96DF color.
.textShadow {text-shadow: 3px 3px 1px #CC96DF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CC96DF, 5px 5px 20px red">Text here.</p>
This text has shadow with #CC96DF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CC96DF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CC96DF, Direction=45, Strength=4)">Text</p>
This text has shadow with #CC96DF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CC96DF; -webkit-box-shadow: 1px 1px 3px 2px #CC96DF; box-shadow: 1px 1px 3px 2px #CC96DF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CC96DF; -webkit-box-shadow: 1px 1px 3px 2px #CC96DF; box-shadow:1px 1px 3px 2px #CC96DF;">
Div content here</div>
This text has color #CC96DF on black background.
This text has color #CC96DF on white background.
This text has black color on #CC96DF background.
This text has white color on #CC96DF background.