HEX: #CCA5FE
RGB: (204,165,254)
#CCA5FE contains mainly red and blue colors. Web safe color of #CCA5FE is #CC99FF (or #C9F).
#CCA5FE color RGB value is (204,165,254).
RGB: (204,165,254) (80%,65%,100%)
R 204 of 255 = 80%
G 165 of 255 = 65%
B 254 of 255 = 100%
R + G + B ~ 82%. #CCA5FE is quite light color.
R + G + B =
204 + 165 + 254 = 623 (100%)
R 204 of 623 ~ 32.74%
G 165 of 623 ~ 26.48%
B 254 of 623 ~ 40.77%
#CCA5FE color CMYK value is (20,35,0,0).
CMYK: (20,35,0,0) C20M35Y0K0 (20%,35%,0%,0%) (0.20/0.35/0.00/0.00)
CC | A5 | FE | |
---|---|---|---|
RGB | 204 | 165 | 254 |
HSL | 266° | 97.80% | 82.16% |
HSB/HSV | 266° | 35.04% | 99.61% |
CMYK | 19.69% | 35.04% | 0.00% |
0.39% |
HEX | CC | A5 | FE |
Decimal | 204 | 165 | 254 |
Binary | 11001100 | 10100101 | 11111110 |
Octal | 314 | 245 | 376 |
Examples of css and html codes for elements with #CCA5FE color. Also use rgb(204,165,254) instead hex code.
.myTextColor { color: #CCA5FE; }
<p style="color:#CCA5FE">This sample text font color is #CCA5FE.</p>
This text font color is #CCA5FE.
.myBgColor { background-color: #CCA5FE; }
<div style="background-color:#CCA5FE">Inner text</div>
This div background color is #CCA5FE.
.myBorderColor { border: 1px solid #CCA5FE; }
<div style="border:3px solid #CCA5FE">Div</div>
This div border color is #CCA5FE.
.myOpacity80 { color: #CCA5FE; opacity: 0.8; }
<p style="color:#CCA5FE;opacity:0.8;">80%</p>
Text with #CCA5FE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCA5FE;}
<p style="text-shadow: 3px 3px 1px #CCA5FE">Text here.</p>
This text has shadow with #CCA5FE color.
.textShadow {text-shadow: 3px 3px 1px #CCA5FE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCA5FE, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCA5FE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCA5FE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCA5FE, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCA5FE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCA5FE; -webkit-box-shadow: 1px 1px 3px 2px #CCA5FE; box-shadow: 1px 1px 3px 2px #CCA5FE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCA5FE; -webkit-box-shadow: 1px 1px 3px 2px #CCA5FE; box-shadow:1px 1px 3px 2px #CCA5FE;">
Div content here</div>
This text has color #CCA5FE on black background.
This text has color #CCA5FE on white background.
This text has black color on #CCA5FE background.
This text has white color on #CCA5FE background.