HEX: #D8C2EE
RGB: (216,194,238)
#D8C2EE contains red, green and blue colors in about the same proportion. Web safe color of #D8C2EE is #CCCCFF (or #CCF).
#D8C2EE color RGB value is (216,194,238).
RGB: (216,194,238) (85%,76%,93%)
R 216 of 255 = 85%
G 194 of 255 = 76%
B 238 of 255 = 93%
R + G + B ~ 85%. #D8C2EE is quite light color.
R + G + B =
216 + 194 + 238 = 648 (100%)
R 216 of 648 ~ 33.33%
G 194 of 648 ~ 29.94%
B 238 of 648 ~ 36.73%
#D8C2EE color CMYK value is (9,18,0,7).
CMYK: (9,18,0,7) C9M18Y0K7 (9%,18%,0%,7%) (0.09/0.18/0.00/0.07)
D8 | C2 | EE | |
---|---|---|---|
RGB | 216 | 194 | 238 |
HSL | 270° | 56.41% | 84.71% |
HSB/HSV | 270° | 18.49% | 93.33% |
CMYK | 9.24% | 18.49% | 0.00% |
6.67% |
HEX | D8 | C2 | EE |
Decimal | 216 | 194 | 238 |
Binary | 11011000 | 11000010 | 11101110 |
Octal | 330 | 302 | 356 |
Examples of css and html codes for elements with #D8C2EE color. Also use rgb(216,194,238) instead hex code.
.myTextColor { color: #D8C2EE; }
<p style="color:#D8C2EE">This sample text font color is #D8C2EE.</p>
This text font color is #D8C2EE.
.myBgColor { background-color: #D8C2EE; }
<div style="background-color:#D8C2EE">Inner text</div>
This div background color is #D8C2EE.
.myBorderColor { border: 1px solid #D8C2EE; }
<div style="border:3px solid #D8C2EE">Div</div>
This div border color is #D8C2EE.
.myOpacity80 { color: #D8C2EE; opacity: 0.8; }
<p style="color:#D8C2EE;opacity:0.8;">80%</p>
Text with #D8C2EE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8C2EE;}
<p style="text-shadow: 3px 3px 1px #D8C2EE">Text here.</p>
This text has shadow with #D8C2EE color.
.textShadow {text-shadow: 3px 3px 1px #D8C2EE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8C2EE, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8C2EE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8C2EE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8C2EE, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8C2EE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8C2EE; -webkit-box-shadow: 1px 1px 3px 2px #D8C2EE; box-shadow: 1px 1px 3px 2px #D8C2EE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8C2EE; -webkit-box-shadow: 1px 1px 3px 2px #D8C2EE; box-shadow:1px 1px 3px 2px #D8C2EE;">
Div content here</div>
This text has color #D8C2EE on black background.
This text has color #D8C2EE on white background.
This text has black color on #D8C2EE background.
This text has white color on #D8C2EE background.