HEX: #CCA5DC
RGB: (204,165,220)
#CCA5DC contains red, green and blue colors in about the same proportion. Web safe color of #CCA5DC is #CC99CC (or #C9C).
#CCA5DC color RGB value is (204,165,220).
RGB: (204,165,220)
(80%, 65%, 86%)
R 204 of 255 = 80%
G 165 of 255 = 65%
B 220 of 255 = 86%
R + G + B ~ 77%. #CCA5DC is quite light color.
R + G + B = 204 + 165 + 220 = 589 (100%)
R 204 of 589 ~ 34.63%
G 165 of 589 ~ 28.01%
B 220 of 589 ~ 37.35'%
#CCA5DC color CMYK value is (7,25,0,14).
CMYK: (7,25,0,14)
C7M25Y0K14 (7%, 25%, 0%, 14%)
(0.07 / 0.25 / 0.00 / 0.14)
Color #CCA5DC in popluar color models
CC | A5 | DC | |
---|---|---|---|
RGB | 204 | 165 | 220 |
HSL | 283° | 44.00% | 75.49% |
HSB/HSV | 283° | 25.00% | 86.27% |
CMYK | 7.27% | 25.00% | 0.00% |
13.73% |
Color #CCA5DC in popluar number systems.
HEX | CC | A5 | DC |
Decimal | 204 | 165 | 220 |
Binary | 11001100 | 10100101 | 11011100 |
Octal | 314 | 245 | 334 |
Shades of #CCA5DC
Tints of #CCA5DC
Examples of css and html codes for elements with #CCA5DC color. Also use rgb(204,165,220) instead hex code.
.myTextColor { color: #CCA5DC; }
<p style="color:#CCA5DC">This sample text font color is #CCA5DC.</p>
This text font color is #CCA5DC.
.myBgColor { background-color: #CCA5DC; }
<div style="background-color:#CCA5DC">Inner text</div>
This div background color is #CCA5DC.
.myBorderColor { border: 1px solid #CCA5DC; }
<div style="border:3px solid #CCA5DC">Div</div>
This div border color is #CCA5DC.
.myOpacity80 { color: #CCA5DC; opacity: 0.8; }
<p style="color:#CCA5DC;opacity:0.8;">80%</p>
Text with #CCA5DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCA5DC;}
<p style="text-shadow: 3px 3px 1px #CCA5DC">Text here.</p>
This text has shadow with #CCA5DC color.
.textShadow {text-shadow: 3px 3px 1px #CCA5DC', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCA5DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCA5DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCA5DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCA5DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCA5DC and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #CCA5DC;
-webkit-box-shadow: 1px 1px 3px 2px #CCA5DC;
box-shadow: 1px 1px 3px 2px #CCA5DC;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #CCA5DC; -webkit-box-shadow: 1px 1px 3px 2px #CCA5DC; box-shadow:1px 1px 3px 2px #CCA5DC;">
Div content here
</div>
This text has color #CCA5DC on black background.
This text has color #CCA5DC on white background.
This text has black color on #CCA5DC background.
This text has white color on #CCA5DC background.
Complementary color for #hex is #335A23.