HEX: #D9C2EB
RGB: (217,194,235)
#D9C2EB contains red, green and blue colors in about the same proportion. Web safe color of #D9C2EB is #CCCCFF (or #CCF).
#D9C2EB color RGB value is (217,194,235).
RGB: (217,194,235) (85%,76%,92%)
R 217 of 255 = 85%
G 194 of 255 = 76%
B 235 of 255 = 92%
R + G + B ~ 84%. #D9C2EB is quite light color.
R + G + B =
217 + 194 + 235 = 646 (100%)
R 217 of 646 ~ 33.59%
G 194 of 646 ~ 30.03%
B 235 of 646 ~ 36.38%
#D9C2EB color CMYK value is (8,17,0,8).
CMYK: (8,17,0,8) C8M17Y0K8 (8%,17%,0%,8%) (0.08/0.17/0.00/0.08)
D9 | C2 | EB | |
---|---|---|---|
RGB | 217 | 194 | 235 |
HSL | 274° | 50.62% | 84.12% |
HSB/HSV | 274° | 17.45% | 92.16% |
CMYK | 7.66% | 17.45% | 0.00% |
7.84% |
HEX | D9 | C2 | EB |
Decimal | 217 | 194 | 235 |
Binary | 11011001 | 11000010 | 11101011 |
Octal | 331 | 302 | 353 |
Examples of css and html codes for elements with #D9C2EB color. Also use rgb(217,194,235) instead hex code.
.myTextColor { color: #D9C2EB; }
<p style="color:#D9C2EB">This sample text font color is #D9C2EB.</p>
This text font color is #D9C2EB.
.myBgColor { background-color: #D9C2EB; }
<div style="background-color:#D9C2EB">Inner text</div>
This div background color is #D9C2EB.
.myBorderColor { border: 1px solid #D9C2EB; }
<div style="border:3px solid #D9C2EB">Div</div>
This div border color is #D9C2EB.
.myOpacity80 { color: #D9C2EB; opacity: 0.8; }
<p style="color:#D9C2EB;opacity:0.8;">80%</p>
Text with #D9C2EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C2EB;}
<p style="text-shadow: 3px 3px 1px #D9C2EB">Text here.</p>
This text has shadow with #D9C2EB color.
.textShadow {text-shadow: 3px 3px 1px #D9C2EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C2EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9C2EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C2EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C2EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C2EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C2EB; -webkit-box-shadow: 1px 1px 3px 2px #D9C2EB; box-shadow: 1px 1px 3px 2px #D9C2EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C2EB; -webkit-box-shadow: 1px 1px 3px 2px #D9C2EB; box-shadow:1px 1px 3px 2px #D9C2EB;">
Div content here</div>
This text has color #D9C2EB on black background.
This text has color #D9C2EB on white background.
This text has black color on #D9C2EB background.
This text has white color on #D9C2EB background.