HEX: #CCCCDD
RGB: (204,204,221)
#CCCCDD contains red, green and blue colors in about the same proportion. Web safe color of #CCCCDD is #CCCCCC (or #CCC).
#CCCCDD color RGB value is (204,204,221).
RGB: (204,204,221) (80%,80%,87%)
R 204 of 255 = 80%
G 204 of 255 = 80%
B 221 of 255 = 87%
R + G + B ~ 82%. #CCCCDD is quite light color.
R + G + B =
204 + 204 + 221 = 629 (100%)
R 204 of 629 ~ 32.43%
G 204 of 629 ~ 32.43%
B 221 of 629 ~ 35.14%
#CCCCDD color CMYK value is (8,8,0,13).
CMYK: (8,8,0,13) C8M8Y0K13 (8%,8%,0%,13%) (0.08/0.08/0.00/0.13)
CC | CC | DD | |
---|---|---|---|
RGB | 204 | 204 | 221 |
HSL | 240° | 20.00% | 83.33% |
HSB/HSV | 240° | 7.69% | 86.67% |
CMYK | 7.69% | 7.69% | 0.00% |
13.33% |
HEX | CC | CC | DD |
Decimal | 204 | 204 | 221 |
Binary | 11001100 | 11001100 | 11011101 |
Octal | 314 | 314 | 335 |
Examples of css and html codes for elements with #CCCCDD color. Also use rgb(204,204,221) instead hex code.
.myTextColor { color: #CCCCDD; }
<p style="color:#CCCCDD">This sample text font color is #CCCCDD.</p>
This text font color is #CCCCDD.
.myBgColor { background-color: #CCCCDD; }
<div style="background-color:#CCCCDD">Inner text</div>
This div background color is #CCCCDD.
.myBorderColor { border: 1px solid #CCCCDD; }
<div style="border:3px solid #CCCCDD">Div</div>
This div border color is #CCCCDD.
.myOpacity80 { color: #CCCCDD; opacity: 0.8; }
<p style="color:#CCCCDD;opacity:0.8;">80%</p>
Text with #CCCCDD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCCCDD;}
<p style="text-shadow: 3px 3px 1px #CCCCDD">Text here.</p>
This text has shadow with #CCCCDD color.
.textShadow {text-shadow: 3px 3px 1px #CCCCDD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCCCDD, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCCCDD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCCCDD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCCCDD, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCCCDD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCCCDD; -webkit-box-shadow: 1px 1px 3px 2px #CCCCDD; box-shadow: 1px 1px 3px 2px #CCCCDD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCCCDD; -webkit-box-shadow: 1px 1px 3px 2px #CCCCDD; box-shadow:1px 1px 3px 2px #CCCCDD;">
Div content here</div>
This text has color #CCCCDD on black background.
This text has color #CCCCDD on white background.
This text has black color on #CCCCDD background.
This text has white color on #CCCCDD background.