HEX: #D7C7EF
RGB: (215,199,239)
#D7C7EF contains red, green and blue colors in about the same proportion. Web safe color of #D7C7EF is #CCCCFF (or #CCF).
#D7C7EF color RGB value is (215,199,239).
RGB: (215,199,239) (84%,78%,94%)
R 215 of 255 = 84%
G 199 of 255 = 78%
B 239 of 255 = 94%
R + G + B ~ 85%. #D7C7EF is quite light color.
R + G + B =
215 + 199 + 239 = 653 (100%)
R 215 of 653 ~ 32.92%
G 199 of 653 ~ 30.47%
B 239 of 653 ~ 36.6%
#D7C7EF color CMYK value is (10,17,0,6).
CMYK: (10,17,0,6) C10M17Y0K6 (10%,17%,0%,6%) (0.10/0.17/0.00/0.06)
D7 | C7 | EF | |
---|---|---|---|
RGB | 215 | 199 | 239 |
HSL | 264° | 55.56% | 85.88% |
HSB/HSV | 264° | 16.74% | 93.73% |
CMYK | 10.04% | 16.74% | 0.00% |
6.27% |
HEX | D7 | C7 | EF |
Decimal | 215 | 199 | 239 |
Binary | 11010111 | 11000111 | 11101111 |
Octal | 327 | 307 | 357 |
Examples of css and html codes for elements with #D7C7EF color. Also use rgb(215,199,239) instead hex code.
.myTextColor { color: #D7C7EF; }
<p style="color:#D7C7EF">This sample text font color is #D7C7EF.</p>
This text font color is #D7C7EF.
.myBgColor { background-color: #D7C7EF; }
<div style="background-color:#D7C7EF">Inner text</div>
This div background color is #D7C7EF.
.myBorderColor { border: 1px solid #D7C7EF; }
<div style="border:3px solid #D7C7EF">Div</div>
This div border color is #D7C7EF.
.myOpacity80 { color: #D7C7EF; opacity: 0.8; }
<p style="color:#D7C7EF;opacity:0.8;">80%</p>
Text with #D7C7EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D7C7EF;}
<p style="text-shadow: 3px 3px 1px #D7C7EF">Text here.</p>
This text has shadow with #D7C7EF color.
.textShadow {text-shadow: 3px 3px 1px #D7C7EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D7C7EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D7C7EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D7C7EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D7C7EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D7C7EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D7C7EF; -webkit-box-shadow: 1px 1px 3px 2px #D7C7EF; box-shadow: 1px 1px 3px 2px #D7C7EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D7C7EF; -webkit-box-shadow: 1px 1px 3px 2px #D7C7EF; box-shadow:1px 1px 3px 2px #D7C7EF;">
Div content here</div>
This text has color #D7C7EF on black background.
This text has color #D7C7EF on white background.
This text has black color on #D7C7EF background.
This text has white color on #D7C7EF background.