HEX: #CCC7DC
RGB: (204,199,220)
#CCC7DC contains red, green and blue colors in about the same proportion. Web safe color of #CCC7DC is #CCCCCC (or #CCC).
#CCC7DC color RGB value is (204,199,220).
RGB: (204,199,220) (80%,78%,86%)
R 204 of 255 = 80%
G 199 of 255 = 78%
B 220 of 255 = 86%
R + G + B ~ 81%. #CCC7DC is quite light color.
R + G + B =
204 + 199 + 220 = 623 (100%)
R 204 of 623 ~ 32.74%
G 199 of 623 ~ 31.94%
B 220 of 623 ~ 35.31%
#CCC7DC color CMYK value is (7,10,0,14).
CMYK: (7,10,0,14) C7M10Y0K14 (7%,10%,0%,14%) (0.07/0.10/0.00/0.14)
CC | C7 | DC | |
---|---|---|---|
RGB | 204 | 199 | 220 |
HSL | 254° | 23.08% | 82.16% |
HSB/HSV | 254° | 9.55% | 86.27% |
CMYK | 7.27% | 9.55% | 0.00% |
13.73% |
HEX | CC | C7 | DC |
Decimal | 204 | 199 | 220 |
Binary | 11001100 | 11000111 | 11011100 |
Octal | 314 | 307 | 334 |
Examples of css and html codes for elements with #CCC7DC color. Also use rgb(204,199,220) instead hex code.
.myTextColor { color: #CCC7DC; }
<p style="color:#CCC7DC">This sample text font color is #CCC7DC.</p>
This text font color is #CCC7DC.
.myBgColor { background-color: #CCC7DC; }
<div style="background-color:#CCC7DC">Inner text</div>
This div background color is #CCC7DC.
.myBorderColor { border: 1px solid #CCC7DC; }
<div style="border:3px solid #CCC7DC">Div</div>
This div border color is #CCC7DC.
.myOpacity80 { color: #CCC7DC; opacity: 0.8; }
<p style="color:#CCC7DC;opacity:0.8;">80%</p>
Text with #CCC7DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCC7DC;}
<p style="text-shadow: 3px 3px 1px #CCC7DC">Text here.</p>
This text has shadow with #CCC7DC color.
.textShadow {text-shadow: 3px 3px 1px #CCC7DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCC7DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCC7DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCC7DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCC7DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCC7DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCC7DC; -webkit-box-shadow: 1px 1px 3px 2px #CCC7DC; box-shadow: 1px 1px 3px 2px #CCC7DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCC7DC; -webkit-box-shadow: 1px 1px 3px 2px #CCC7DC; box-shadow:1px 1px 3px 2px #CCC7DC;">
Div content here</div>
This text has color #CCC7DC on black background.
This text has color #CCC7DC on white background.
This text has black color on #CCC7DC background.
This text has white color on #CCC7DC background.