HEX: #CCB5DB
RGB: (204,181,219)
#CCB5DB contains red, green and blue colors in about the same proportion. Web safe color of #CCB5DB is #CCCCCC (or #CCC).
#CCB5DB color RGB value is (204,181,219).
RGB: (204,181,219) (80%,71%,86%)
R 204 of 255 = 80%
G 181 of 255 = 71%
B 219 of 255 = 86%
R + G + B ~ 79%. #CCB5DB is quite light color.
R + G + B =
204 + 181 + 219 = 604 (100%)
R 204 of 604 ~ 33.77%
G 181 of 604 ~ 29.97%
B 219 of 604 ~ 36.26%
#CCB5DB color CMYK value is (7,17,0,14).
CMYK: (7,17,0,14) C7M17Y0K14 (7%,17%,0%,14%) (0.07/0.17/0.00/0.14)
CC | B5 | DB | |
---|---|---|---|
RGB | 204 | 181 | 219 |
HSL | 276° | 34.55% | 78.43% |
HSB/HSV | 276° | 17.35% | 85.88% |
CMYK | 6.85% | 17.35% | 0.00% |
14.12% |
HEX | CC | B5 | DB |
Decimal | 204 | 181 | 219 |
Binary | 11001100 | 10110101 | 11011011 |
Octal | 314 | 265 | 333 |
Examples of css and html codes for elements with #CCB5DB color. Also use rgb(204,181,219) instead hex code.
.myTextColor { color: #CCB5DB; }
<p style="color:#CCB5DB">This sample text font color is #CCB5DB.</p>
This text font color is #CCB5DB.
.myBgColor { background-color: #CCB5DB; }
<div style="background-color:#CCB5DB">Inner text</div>
This div background color is #CCB5DB.
.myBorderColor { border: 1px solid #CCB5DB; }
<div style="border:3px solid #CCB5DB">Div</div>
This div border color is #CCB5DB.
.myOpacity80 { color: #CCB5DB; opacity: 0.8; }
<p style="color:#CCB5DB;opacity:0.8;">80%</p>
Text with #CCB5DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #CCB5DB;}
<p style="text-shadow: 3px 3px 1px #CCB5DB">Text here.</p>
This text has shadow with #CCB5DB color.
.textShadow {text-shadow: 3px 3px 1px #CCB5DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #CCB5DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #CCB5DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#CCB5DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#CCB5DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #CCB5DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #CCB5DB; -webkit-box-shadow: 1px 1px 3px 2px #CCB5DB; box-shadow: 1px 1px 3px 2px #CCB5DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #CCB5DB; -webkit-box-shadow: 1px 1px 3px 2px #CCB5DB; box-shadow:1px 1px 3px 2px #CCB5DB;">
Div content here</div>
This text has color #CCB5DB on black background.
This text has color #CCB5DB on white background.
This text has black color on #CCB5DB background.
This text has white color on #CCB5DB background.