HEX: #CCB5E7
RGB: (204,181,231)
#CCB5E7 contains red, green and blue colors in about the same proportion. Web safe color of #CCB5E7 is #CCCCFF (or #CCF).
#CCB5E7 color RGB value is (204,181,231).
RGB: (204,181,231) (80%,71%,91%)
R 204 of 255 = 80%
G 181 of 255 = 71%
B 231 of 255 = 91%
R + G + B ~ 81%. #CCB5E7 is quite light color.
R + G + B =
204 + 181 + 231 = 616 (100%)
R 204 of 616 ~ 33.12%
G 181 of 616 ~ 29.38%
B 231 of 616 ~ 37.5%
#CCB5E7 color CMYK value is (12,22,0,9).
CMYK: (12,22,0,9) C12M22Y0K9 (12%,22%,0%,9%) (0.12/0.22/0.00/0.09)
CC | B5 | E7 | |
---|---|---|---|
RGB | 204 | 181 | 231 |
HSL | 268° | 51.02% | 80.78% |
HSB/HSV | 268° | 21.65% | 90.59% |
CMYK | 11.69% | 21.65% | 0.00% |
9.41% |
HEX | CC | B5 | E7 |
Decimal | 204 | 181 | 231 |
Binary | 11001100 | 10110101 | 11100111 |
Octal | 314 | 265 | 347 |
Examples of css and html codes for elements with #CCB5E7 color. Also use rgb(204,181,231) instead hex code.
.myTextColor { color: #CCB5E7; }
<p style="color:#CCB5E7">This sample text font color is #CCB5E7.</p>
This text font color is #CCB5E7.
.myBgColor { background-color: #CCB5E7; }
<div style="background-color:#CCB5E7">Inner text</div>
This div background color is #CCB5E7.
.myBorderColor { border: 1px solid #CCB5E7; }
<div style="border:3px solid #CCB5E7">Div</div>
This div border color is #CCB5E7.
.myOpacity80 { color: #CCB5E7; opacity: 0.8; }
<p style="color:#CCB5E7;opacity:0.8;">80%</p>
Text with #CCB5E7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCB5E7;}
<p style="text-shadow: 3px 3px 1px #CCB5E7">Text here.</p>
This text has shadow with #CCB5E7 color.
.textShadow {text-shadow: 3px 3px 1px #CCB5E7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCB5E7, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCB5E7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCB5E7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCB5E7, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCB5E7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCB5E7; -webkit-box-shadow: 1px 1px 3px 2px #CCB5E7; box-shadow: 1px 1px 3px 2px #CCB5E7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCB5E7; -webkit-box-shadow: 1px 1px 3px 2px #CCB5E7; box-shadow:1px 1px 3px 2px #CCB5E7;">
Div content here</div>
This text has color #CCB5E7 on black background.
This text has color #CCB5E7 on white background.
This text has black color on #CCB5E7 background.
This text has white color on #CCB5E7 background.