HEX: #D5B7EC
RGB: (213,183,236)
#D5B7EC contains red, green and blue colors in about the same proportion. Web safe color of #D5B7EC is #CCCCFF (or #CCF).
#D5B7EC color RGB value is (213,183,236).
RGB: (213,183,236) (84%,72%,93%)
R 213 of 255 = 84%
G 183 of 255 = 72%
B 236 of 255 = 93%
R + G + B ~ 83%. #D5B7EC is quite light color.
R + G + B =
213 + 183 + 236 = 632 (100%)
R 213 of 632 ~ 33.7%
G 183 of 632 ~ 28.96%
B 236 of 632 ~ 37.34%
#D5B7EC color CMYK value is (10,22,0,7).
CMYK: (10,22,0,7) C10M22Y0K7 (10%,22%,0%,7%) (0.10/0.22/0.00/0.07)
D5 | B7 | EC | |
---|---|---|---|
RGB | 213 | 183 | 236 |
HSL | 274° | 58.24% | 82.16% |
HSB/HSV | 274° | 22.46% | 92.55% |
CMYK | 9.75% | 22.46% | 0.00% |
7.45% |
HEX | D5 | B7 | EC |
Decimal | 213 | 183 | 236 |
Binary | 11010101 | 10110111 | 11101100 |
Octal | 325 | 267 | 354 |
Examples of css and html codes for elements with #D5B7EC color. Also use rgb(213,183,236) instead hex code.
.myTextColor { color: #D5B7EC; }
<p style="color:#D5B7EC">This sample text font color is #D5B7EC.</p>
This text font color is #D5B7EC.
.myBgColor { background-color: #D5B7EC; }
<div style="background-color:#D5B7EC">Inner text</div>
This div background color is #D5B7EC.
.myBorderColor { border: 1px solid #D5B7EC; }
<div style="border:3px solid #D5B7EC">Div</div>
This div border color is #D5B7EC.
.myOpacity80 { color: #D5B7EC; opacity: 0.8; }
<p style="color:#D5B7EC;opacity:0.8;">80%</p>
Text with #D5B7EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5B7EC;}
<p style="text-shadow: 3px 3px 1px #D5B7EC">Text here.</p>
This text has shadow with #D5B7EC color.
.textShadow {text-shadow: 3px 3px 1px #D5B7EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5B7EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5B7EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5B7EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5B7EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5B7EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5B7EC; -webkit-box-shadow: 1px 1px 3px 2px #D5B7EC; box-shadow: 1px 1px 3px 2px #D5B7EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5B7EC; -webkit-box-shadow: 1px 1px 3px 2px #D5B7EC; box-shadow:1px 1px 3px 2px #D5B7EC;">
Div content here</div>
This text has color #D5B7EC on black background.
This text has color #D5B7EC on white background.
This text has black color on #D5B7EC background.
This text has white color on #D5B7EC background.