HEX: #D8CCEB
RGB: (216,204,235)
#D8CCEB contains red, green and blue colors in about the same proportion. Web safe color of #D8CCEB is #CCCCFF (or #CCF).
#D8CCEB color RGB value is (216,204,235).
RGB: (216,204,235) (85%,80%,92%)
R 216 of 255 = 85%
G 204 of 255 = 80%
B 235 of 255 = 92%
R + G + B ~ 86%. #D8CCEB is light color.
R + G + B =
216 + 204 + 235 = 655 (100%)
R 216 of 655 ~ 32.98%
G 204 of 655 ~ 31.15%
B 235 of 655 ~ 35.88%
#D8CCEB color CMYK value is (8,13,0,8).
CMYK: (8,13,0,8) C8M13Y0K8 (8%,13%,0%,8%) (0.08/0.13/0.00/0.08)
D8 | CC | EB | |
---|---|---|---|
RGB | 216 | 204 | 235 |
HSL | 263° | 43.66% | 86.08% |
HSB/HSV | 263° | 13.19% | 92.16% |
CMYK | 8.09% | 13.19% | 0.00% |
7.84% |
HEX | D8 | CC | EB |
Decimal | 216 | 204 | 235 |
Binary | 11011000 | 11001100 | 11101011 |
Octal | 330 | 314 | 353 |
Examples of css and html codes for elements with #D8CCEB color. Also use rgb(216,204,235) instead hex code.
.myTextColor { color: #D8CCEB; }
<p style="color:#D8CCEB">This sample text font color is #D8CCEB.</p>
This text font color is #D8CCEB.
.myBgColor { background-color: #D8CCEB; }
<div style="background-color:#D8CCEB">Inner text</div>
This div background color is #D8CCEB.
.myBorderColor { border: 1px solid #D8CCEB; }
<div style="border:3px solid #D8CCEB">Div</div>
This div border color is #D8CCEB.
.myOpacity80 { color: #D8CCEB; opacity: 0.8; }
<p style="color:#D8CCEB;opacity:0.8;">80%</p>
Text with #D8CCEB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8CCEB;}
<p style="text-shadow: 3px 3px 1px #D8CCEB">Text here.</p>
This text has shadow with #D8CCEB color.
.textShadow {text-shadow: 3px 3px 1px #D8CCEB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8CCEB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8CCEB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8CCEB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8CCEB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8CCEB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8CCEB; -webkit-box-shadow: 1px 1px 3px 2px #D8CCEB; box-shadow: 1px 1px 3px 2px #D8CCEB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8CCEB; -webkit-box-shadow: 1px 1px 3px 2px #D8CCEB; box-shadow:1px 1px 3px 2px #D8CCEB;">
Div content here</div>
This text has color #D8CCEB on black background.
This text has color #D8CCEB on white background.
This text has black color on #D8CCEB background.
This text has white color on #D8CCEB background.