HEX: #DCD1EC
RGB: (220,209,236)
#DCD1EC contains red, green and blue colors in about the same proportion. Web safe color of #DCD1EC is #CCCCFF (or #CCF).
#DCD1EC color RGB value is (220,209,236).
RGB: (220,209,236) (86%,82%,93%)
R 220 of 255 = 86%
G 209 of 255 = 82%
B 236 of 255 = 93%
R + G + B ~ 87%. #DCD1EC is light color.
R + G + B =
220 + 209 + 236 = 665 (100%)
R 220 of 665 ~ 33.08%
G 209 of 665 ~ 31.43%
B 236 of 665 ~ 35.49%
#DCD1EC color CMYK value is (7,11,0,7).
CMYK: (7,11,0,7) C7M11Y0K7 (7%,11%,0%,7%) (0.07/0.11/0.00/0.07)
DC | D1 | EC | |
---|---|---|---|
RGB | 220 | 209 | 236 |
HSL | 264° | 41.54% | 87.25% |
HSB/HSV | 264° | 11.44% | 92.55% |
CMYK | 6.78% | 11.44% | 0.00% |
7.45% |
HEX | DC | D1 | EC |
Decimal | 220 | 209 | 236 |
Binary | 11011100 | 11010001 | 11101100 |
Octal | 334 | 321 | 354 |
Examples of css and html codes for elements with #DCD1EC color. Also use rgb(220,209,236) instead hex code.
.myTextColor { color: #DCD1EC; }
<p style="color:#DCD1EC">This sample text font color is #DCD1EC.</p>
This text font color is #DCD1EC.
.myBgColor { background-color: #DCD1EC; }
<div style="background-color:#DCD1EC">Inner text</div>
This div background color is #DCD1EC.
.myBorderColor { border: 1px solid #DCD1EC; }
<div style="border:3px solid #DCD1EC">Div</div>
This div border color is #DCD1EC.
.myOpacity80 { color: #DCD1EC; opacity: 0.8; }
<p style="color:#DCD1EC;opacity:0.8;">80%</p>
Text with #DCD1EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCD1EC;}
<p style="text-shadow: 3px 3px 1px #DCD1EC">Text here.</p>
This text has shadow with #DCD1EC color.
.textShadow {text-shadow: 3px 3px 1px #DCD1EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCD1EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #DCD1EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCD1EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCD1EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCD1EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCD1EC; -webkit-box-shadow: 1px 1px 3px 2px #DCD1EC; box-shadow: 1px 1px 3px 2px #DCD1EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCD1EC; -webkit-box-shadow: 1px 1px 3px 2px #DCD1EC; box-shadow:1px 1px 3px 2px #DCD1EC;">
Div content here</div>
This text has color #DCD1EC on black background.
This text has color #DCD1EC on white background.
This text has black color on #DCD1EC background.
This text has white color on #DCD1EC background.