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