HEX: #CCA0EC
RGB: (204,160,236)
#CCA0EC contains mainly red and blue colors. Web safe color of #CCA0EC is #CC99FF (or #C9F).
#CCA0EC color RGB value is (204,160,236).
RGB: (204,160,236) (80%,63%,93%)
R 204 of 255 = 80%
G 160 of 255 = 63%
B 236 of 255 = 93%
R + G + B ~ 79%. #CCA0EC is quite light color.
R + G + B =
204 + 160 + 236 = 600 (100%)
R 204 of 600 ~ 34%
G 160 of 600 ~ 26.67%
B 236 of 600 ~ 39.33%
#CCA0EC color CMYK value is (14,32,0,7).
CMYK: (14,32,0,7) C14M32Y0K7 (14%,32%,0%,7%) (0.14/0.32/0.00/0.07)
CC | A0 | EC | |
---|---|---|---|
RGB | 204 | 160 | 236 |
HSL | 275° | 66.67% | 77.65% |
HSB/HSV | 275° | 32.20% | 92.55% |
CMYK | 13.56% | 32.20% | 0.00% |
7.45% |
HEX | CC | A0 | EC |
Decimal | 204 | 160 | 236 |
Binary | 11001100 | 10100000 | 11101100 |
Octal | 314 | 240 | 354 |
Examples of css and html codes for elements with #CCA0EC color. Also use rgb(204,160,236) instead hex code.
.myTextColor { color: #CCA0EC; }
<p style="color:#CCA0EC">This sample text font color is #CCA0EC.</p>
This text font color is #CCA0EC.
.myBgColor { background-color: #CCA0EC; }
<div style="background-color:#CCA0EC">Inner text</div>
This div background color is #CCA0EC.
.myBorderColor { border: 1px solid #CCA0EC; }
<div style="border:3px solid #CCA0EC">Div</div>
This div border color is #CCA0EC.
.myOpacity80 { color: #CCA0EC; opacity: 0.8; }
<p style="color:#CCA0EC;opacity:0.8;">80%</p>
Text with #CCA0EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCA0EC;}
<p style="text-shadow: 3px 3px 1px #CCA0EC">Text here.</p>
This text has shadow with #CCA0EC color.
.textShadow {text-shadow: 3px 3px 1px #CCA0EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCA0EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCA0EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCA0EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCA0EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCA0EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCA0EC; -webkit-box-shadow: 1px 1px 3px 2px #CCA0EC; box-shadow: 1px 1px 3px 2px #CCA0EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCA0EC; -webkit-box-shadow: 1px 1px 3px 2px #CCA0EC; box-shadow:1px 1px 3px 2px #CCA0EC;">
Div content here</div>
This text has color #CCA0EC on black background.
This text has color #CCA0EC on white background.
This text has black color on #CCA0EC background.
This text has white color on #CCA0EC background.