HEX: #D1C7EB
RGB: (209,199,235)
#D1C7EB contains red, green and blue colors in about the same proportion. Web safe color of #D1C7EB is #CCCCFF (or #CCF).
#D1C7EB color RGB value is (209,199,235).
RGB: (209,199,235) (82%,78%,92%)
R 209 of 255 = 82%
G 199 of 255 = 78%
B 235 of 255 = 92%
R + G + B ~ 84%. #D1C7EB is quite light color.
R + G + B =
209 + 199 + 235 = 643 (100%)
R 209 of 643 ~ 32.5%
G 199 of 643 ~ 30.95%
B 235 of 643 ~ 36.55%
#D1C7EB color CMYK value is (11,15,0,8).
CMYK: (11,15,0,8) C11M15Y0K8 (11%,15%,0%,8%) (0.11/0.15/0.00/0.08)
D1 | C7 | EB | |
---|---|---|---|
RGB | 209 | 199 | 235 |
HSL | 257° | 47.37% | 85.10% |
HSB/HSV | 257° | 15.32% | 92.16% |
CMYK | 11.06% | 15.32% | 0.00% |
7.84% |
HEX | D1 | C7 | EB |
Decimal | 209 | 199 | 235 |
Binary | 11010001 | 11000111 | 11101011 |
Octal | 321 | 307 | 353 |
Examples of css and html codes for elements with #D1C7EB color. Also use rgb(209,199,235) instead hex code.
.myTextColor { color: #D1C7EB; }
<p style="color:#D1C7EB">This sample text font color is #D1C7EB.</p>
This text font color is #D1C7EB.
.myBgColor { background-color: #D1C7EB; }
<div style="background-color:#D1C7EB">Inner text</div>
This div background color is #D1C7EB.
.myBorderColor { border: 1px solid #D1C7EB; }
<div style="border:3px solid #D1C7EB">Div</div>
This div border color is #D1C7EB.
.myOpacity80 { color: #D1C7EB; opacity: 0.8; }
<p style="color:#D1C7EB;opacity:0.8;">80%</p>
Text with #D1C7EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D1C7EB;}
<p style="text-shadow: 3px 3px 1px #D1C7EB">Text here.</p>
This text has shadow with #D1C7EB color.
.textShadow {text-shadow: 3px 3px 1px #D1C7EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D1C7EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D1C7EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D1C7EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D1C7EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D1C7EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D1C7EB; -webkit-box-shadow: 1px 1px 3px 2px #D1C7EB; box-shadow: 1px 1px 3px 2px #D1C7EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D1C7EB; -webkit-box-shadow: 1px 1px 3px 2px #D1C7EB; box-shadow:1px 1px 3px 2px #D1C7EB;">
Div content here</div>
This text has color #D1C7EB on black background.
This text has color #D1C7EB on white background.
This text has black color on #D1C7EB background.
This text has white color on #D1C7EB background.