HEX: #D9C6EF
RGB: (217,198,239)
#D9C6EF contains red, green and blue colors in about the same proportion. Web safe color of #D9C6EF is #CCCCFF (or #CCF).
#D9C6EF color RGB value is (217,198,239).
RGB: (217,198,239) (85%,78%,94%)
R 217 of 255 = 85%
G 198 of 255 = 78%
B 239 of 255 = 94%
R + G + B ~ 86%. #D9C6EF is light color.
R + G + B =
217 + 198 + 239 = 654 (100%)
R 217 of 654 ~ 33.18%
G 198 of 654 ~ 30.28%
B 239 of 654 ~ 36.54%
#D9C6EF color CMYK value is (9,17,0,6).
CMYK: (9,17,0,6) C9M17Y0K6 (9%,17%,0%,6%) (0.09/0.17/0.00/0.06)
D9 | C6 | EF | |
---|---|---|---|
RGB | 217 | 198 | 239 |
HSL | 268° | 56.16% | 85.69% |
HSB/HSV | 268° | 17.15% | 93.73% |
CMYK | 9.21% | 17.15% | 0.00% |
6.27% |
HEX | D9 | C6 | EF |
Decimal | 217 | 198 | 239 |
Binary | 11011001 | 11000110 | 11101111 |
Octal | 331 | 306 | 357 |
Examples of css and html codes for elements with #D9C6EF color. Also use rgb(217,198,239) instead hex code.
.myTextColor { color: #D9C6EF; }
<p style="color:#D9C6EF">This sample text font color is #D9C6EF.</p>
This text font color is #D9C6EF.
.myBgColor { background-color: #D9C6EF; }
<div style="background-color:#D9C6EF">Inner text</div>
This div background color is #D9C6EF.
.myBorderColor { border: 1px solid #D9C6EF; }
<div style="border:3px solid #D9C6EF">Div</div>
This div border color is #D9C6EF.
.myOpacity80 { color: #D9C6EF; opacity: 0.8; }
<p style="color:#D9C6EF;opacity:0.8;">80%</p>
Text with #D9C6EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C6EF;}
<p style="text-shadow: 3px 3px 1px #D9C6EF">Text here.</p>
This text has shadow with #D9C6EF color.
.textShadow {text-shadow: 3px 3px 1px #D9C6EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C6EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9C6EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C6EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C6EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C6EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C6EF; -webkit-box-shadow: 1px 1px 3px 2px #D9C6EF; box-shadow: 1px 1px 3px 2px #D9C6EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C6EF; -webkit-box-shadow: 1px 1px 3px 2px #D9C6EF; box-shadow:1px 1px 3px 2px #D9C6EF;">
Div content here</div>
This text has color #D9C6EF on black background.
This text has color #D9C6EF on white background.
This text has black color on #D9C6EF background.
This text has white color on #D9C6EF background.