HEX: #CCA6BD
RGB: (204,166,189)
#CCA6BD contains red, green and blue colors in about the same proportion. Web safe color of #CCA6BD is #CC99CC (or #C9C).
#CCA6BD color RGB value is (204,166,189).
RGB: (204,166,189) (80%,65%,74%)
R 204 of 255 = 80%
G 166 of 255 = 65%
B 189 of 255 = 74%
R + G + B ~ 73%. #CCA6BD is quite light color.
R + G + B =
204 + 166 + 189 = 559 (100%)
R 204 of 559 ~ 36.49%
G 166 of 559 ~ 29.7%
B 189 of 559 ~ 33.81%
#CCA6BD color CMYK value is (0,19,7,20).
CMYK: (0,19,7,20) C0M19Y7K20 (0%,19%,7%,20%) (0.00/0.19/0.07/0.20)
CC | A6 | BD | |
---|---|---|---|
RGB | 204 | 166 | 189 |
HSL | 324° | 27.14% | 72.55% |
HSB/HSV | 324° | 18.63% | 80.00% |
CMYK | 0.00% | 18.63% | 7.35% |
20.00% |
HEX | CC | A6 | BD |
Decimal | 204 | 166 | 189 |
Binary | 11001100 | 10100110 | 10111101 |
Octal | 314 | 246 | 275 |
Examples of css and html codes for elements with #CCA6BD color. Also use rgb(204,166,189) instead hex code.
.myTextColor { color: #CCA6BD; }
<p style="color:#CCA6BD">This sample text font color is #CCA6BD.</p>
This text font color is #CCA6BD.
.myBgColor { background-color: #CCA6BD; }
<div style="background-color:#CCA6BD">Inner text</div>
This div background color is #CCA6BD.
.myBorderColor { border: 1px solid #CCA6BD; }
<div style="border:3px solid #CCA6BD">Div</div>
This div border color is #CCA6BD.
.myOpacity80 { color: #CCA6BD; opacity: 0.8; }
<p style="color:#CCA6BD;opacity:0.8;">80%</p>
Text with #CCA6BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCA6BD;}
<p style="text-shadow: 3px 3px 1px #CCA6BD">Text here.</p>
This text has shadow with #CCA6BD color.
.textShadow {text-shadow: 3px 3px 1px #CCA6BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCA6BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCA6BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCA6BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCA6BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCA6BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCA6BD; -webkit-box-shadow: 1px 1px 3px 2px #CCA6BD; box-shadow: 1px 1px 3px 2px #CCA6BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCA6BD; -webkit-box-shadow: 1px 1px 3px 2px #CCA6BD; box-shadow:1px 1px 3px 2px #CCA6BD;">
Div content here</div>
This text has color #CCA6BD on black background.
This text has color #CCA6BD on white background.
This text has black color on #CCA6BD background.
This text has white color on #CCA6BD background.