HEX: #CCA2C0
RGB: (204,162,192)
#CCA2C0 contains red, green and blue colors in about the same proportion. Web safe color of #CCA2C0 is #CC99CC (or #C9C).
#CCA2C0 color RGB value is (204,162,192).
RGB: (204,162,192) (80%,64%,75%)
R 204 of 255 = 80%
G 162 of 255 = 64%
B 192 of 255 = 75%
R + G + B ~ 73%. #CCA2C0 is quite light color.
R + G + B =
204 + 162 + 192 = 558 (100%)
R 204 of 558 ~ 36.56%
G 162 of 558 ~ 29.03%
B 192 of 558 ~ 34.41%
#CCA2C0 color CMYK value is (0,21,6,20).
CMYK: (0,21,6,20) C0M21Y6K20 (0%,21%,6%,20%) (0.00/0.21/0.06/0.20)
CC | A2 | C0 | |
---|---|---|---|
RGB | 204 | 162 | 192 |
HSL | 317° | 29.17% | 71.76% |
HSB/HSV | 317° | 20.59% | 80.00% |
CMYK | 0.00% | 20.59% | 5.88% |
20.00% |
HEX | CC | A2 | C0 |
Decimal | 204 | 162 | 192 |
Binary | 11001100 | 10100010 | 11000000 |
Octal | 314 | 242 | 300 |
Examples of css and html codes for elements with #CCA2C0 color. Also use rgb(204,162,192) instead hex code.
.myTextColor { color: #CCA2C0; }
<p style="color:#CCA2C0">This sample text font color is #CCA2C0.</p>
This text font color is #CCA2C0.
.myBgColor { background-color: #CCA2C0; }
<div style="background-color:#CCA2C0">Inner text</div>
This div background color is #CCA2C0.
.myBorderColor { border: 1px solid #CCA2C0; }
<div style="border:3px solid #CCA2C0">Div</div>
This div border color is #CCA2C0.
.myOpacity80 { color: #CCA2C0; opacity: 0.8; }
<p style="color:#CCA2C0;opacity:0.8;">80%</p>
Text with #CCA2C0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCA2C0;}
<p style="text-shadow: 3px 3px 1px #CCA2C0">Text here.</p>
This text has shadow with #CCA2C0 color.
.textShadow {text-shadow: 3px 3px 1px #CCA2C0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCA2C0, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCA2C0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCA2C0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCA2C0, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCA2C0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCA2C0; -webkit-box-shadow: 1px 1px 3px 2px #CCA2C0; box-shadow: 1px 1px 3px 2px #CCA2C0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCA2C0; -webkit-box-shadow: 1px 1px 3px 2px #CCA2C0; box-shadow:1px 1px 3px 2px #CCA2C0;">
Div content here</div>
This text has color #CCA2C0 on black background.
This text has color #CCA2C0 on white background.
This text has black color on #CCA2C0 background.
This text has white color on #CCA2C0 background.