HEX: #D17EBC
RGB: (209,126,188)
#D17EBC contains mainly red and blue colors. Web safe color of #D17EBC is #CC66CC (or #C6C).
#D17EBC color RGB value is (209,126,188).
RGB: (209,126,188) (82%,49%,74%)
R 209 of 255 = 82%
G 126 of 255 = 49%
B 188 of 255 = 74%
R + G + B ~ 68%. #D17EBC is quite light color.
R + G + B =
209 + 126 + 188 = 523 (100%)
R 209 of 523 ~ 39.96%
G 126 of 523 ~ 24.09%
B 188 of 523 ~ 35.95%
#D17EBC color CMYK value is (0,40,10,18).
CMYK: (0,40,10,18) C0M40Y10K18 (0%,40%,10%,18%) (0.00/0.40/0.10/0.18)
D1 | 7E | BC | |
---|---|---|---|
RGB | 209 | 126 | 188 |
HSL | 315° | 47.43% | 65.69% |
HSB/HSV | 315° | 39.71% | 81.96% |
CMYK | 0.00% | 39.71% | 10.05% |
18.04% |
HEX | D1 | 7E | BC |
Decimal | 209 | 126 | 188 |
Binary | 11010001 | 1111110 | 10111100 |
Octal | 321 | 176 | 274 |
Examples of css and html codes for elements with #D17EBC color. Also use rgb(209,126,188) instead hex code.
.myTextColor { color: #D17EBC; }
<p style="color:#D17EBC">This sample text font color is #D17EBC.</p>
This text font color is #D17EBC.
.myBgColor { background-color: #D17EBC; }
<div style="background-color:#D17EBC">Inner text</div>
This div background color is #D17EBC.
.myBorderColor { border: 1px solid #D17EBC; }
<div style="border:3px solid #D17EBC">Div</div>
This div border color is #D17EBC.
.myOpacity80 { color: #D17EBC; opacity: 0.8; }
<p style="color:#D17EBC;opacity:0.8;">80%</p>
Text with #D17EBC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D17EBC;}
<p style="text-shadow: 3px 3px 1px #D17EBC">Text here.</p>
This text has shadow with #D17EBC color.
.textShadow {text-shadow: 3px 3px 1px #D17EBC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D17EBC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D17EBC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D17EBC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D17EBC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D17EBC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D17EBC; -webkit-box-shadow: 1px 1px 3px 2px #D17EBC; box-shadow: 1px 1px 3px 2px #D17EBC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D17EBC; -webkit-box-shadow: 1px 1px 3px 2px #D17EBC; box-shadow:1px 1px 3px 2px #D17EBC;">
Div content here</div>
This text has color #D17EBC on black background.
This text has color #D17EBC on white background.
This text has black color on #D17EBC background.
This text has white color on #D17EBC background.