HEX: #D8C6FD
RGB: (216,198,253)
#D8C6FD contains red, green and blue colors in about the same proportion. Web safe color of #D8C6FD is #CCCCFF (or #CCF).
#D8C6FD color RGB value is (216,198,253).
RGB: (216,198,253) (85%,78%,99%)
R 216 of 255 = 85%
G 198 of 255 = 78%
B 253 of 255 = 99%
R + G + B ~ 87%. #D8C6FD is light color.
R + G + B =
216 + 198 + 253 = 667 (100%)
R 216 of 667 ~ 32.38%
G 198 of 667 ~ 29.69%
B 253 of 667 ~ 37.93%
#D8C6FD color CMYK value is (15,22,0,1).
CMYK: (15,22,0,1) C15M22Y0K1 (15%,22%,0%,1%) (0.15/0.22/0.00/0.01)
D8 | C6 | FD | |
---|---|---|---|
RGB | 216 | 198 | 253 |
HSL | 260° | 93.22% | 88.43% |
HSB/HSV | 260° | 21.74% | 99.22% |
CMYK | 14.62% | 21.74% | 0.00% |
0.78% |
HEX | D8 | C6 | FD |
Decimal | 216 | 198 | 253 |
Binary | 11011000 | 11000110 | 11111101 |
Octal | 330 | 306 | 375 |
Examples of css and html codes for elements with #D8C6FD color. Also use rgb(216,198,253) instead hex code.
.myTextColor { color: #D8C6FD; }
<p style="color:#D8C6FD">This sample text font color is #D8C6FD.</p>
This text font color is #D8C6FD.
.myBgColor { background-color: #D8C6FD; }
<div style="background-color:#D8C6FD">Inner text</div>
This div background color is #D8C6FD.
.myBorderColor { border: 1px solid #D8C6FD; }
<div style="border:3px solid #D8C6FD">Div</div>
This div border color is #D8C6FD.
.myOpacity80 { color: #D8C6FD; opacity: 0.8; }
<p style="color:#D8C6FD;opacity:0.8;">80%</p>
Text with #D8C6FD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8C6FD;}
<p style="text-shadow: 3px 3px 1px #D8C6FD">Text here.</p>
This text has shadow with #D8C6FD color.
.textShadow {text-shadow: 3px 3px 1px #D8C6FD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8C6FD, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8C6FD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8C6FD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8C6FD, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8C6FD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8C6FD; -webkit-box-shadow: 1px 1px 3px 2px #D8C6FD; box-shadow: 1px 1px 3px 2px #D8C6FD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8C6FD; -webkit-box-shadow: 1px 1px 3px 2px #D8C6FD; box-shadow:1px 1px 3px 2px #D8C6FD;">
Div content here</div>
This text has color #D8C6FD on black background.
This text has color #D8C6FD on white background.
This text has black color on #D8C6FD background.
This text has white color on #D8C6FD background.