HEX: #CCA5BC
RGB: (204,165,188)
#CCA5BC contains red, green and blue colors in about the same proportion. Web safe color of #CCA5BC is #CC99CC (or #C9C).
#CCA5BC color RGB value is (204,165,188).
RGB: (204,165,188) (80%,65%,74%)
R 204 of 255 = 80%
G 165 of 255 = 65%
B 188 of 255 = 74%
R + G + B ~ 73%. #CCA5BC is quite light color.
R + G + B =
204 + 165 + 188 = 557 (100%)
R 204 of 557 ~ 36.62%
G 165 of 557 ~ 29.62%
B 188 of 557 ~ 33.75%
#CCA5BC color CMYK value is (0,19,8,20).
CMYK: (0,19,8,20) C0M19Y8K20 (0%,19%,8%,20%) (0.00/0.19/0.08/0.20)
CC | A5 | BC | |
---|---|---|---|
RGB | 204 | 165 | 188 |
HSL | 325° | 27.66% | 72.35% |
HSB/HSV | 325° | 19.12% | 80.00% |
CMYK | 0.00% | 19.12% | 7.84% |
20.00% |
HEX | CC | A5 | BC |
Decimal | 204 | 165 | 188 |
Binary | 11001100 | 10100101 | 10111100 |
Octal | 314 | 245 | 274 |
Examples of css and html codes for elements with #CCA5BC color. Also use rgb(204,165,188) instead hex code.
.myTextColor { color: #CCA5BC; }
<p style="color:#CCA5BC">This sample text font color is #CCA5BC.</p>
This text font color is #CCA5BC.
.myBgColor { background-color: #CCA5BC; }
<div style="background-color:#CCA5BC">Inner text</div>
This div background color is #CCA5BC.
.myBorderColor { border: 1px solid #CCA5BC; }
<div style="border:3px solid #CCA5BC">Div</div>
This div border color is #CCA5BC.
.myOpacity80 { color: #CCA5BC; opacity: 0.8; }
<p style="color:#CCA5BC;opacity:0.8;">80%</p>
Text with #CCA5BC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCA5BC;}
<p style="text-shadow: 3px 3px 1px #CCA5BC">Text here.</p>
This text has shadow with #CCA5BC color.
.textShadow {text-shadow: 3px 3px 1px #CCA5BC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCA5BC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCA5BC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCA5BC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCA5BC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCA5BC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCA5BC; -webkit-box-shadow: 1px 1px 3px 2px #CCA5BC; box-shadow: 1px 1px 3px 2px #CCA5BC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCA5BC; -webkit-box-shadow: 1px 1px 3px 2px #CCA5BC; box-shadow:1px 1px 3px 2px #CCA5BC;">
Div content here</div>
This text has color #CCA5BC on black background.
This text has color #CCA5BC on white background.
This text has black color on #CCA5BC background.
This text has white color on #CCA5BC background.