HEX: #D5B9EF
RGB: (213,185,239)
#D5B9EF contains red, green and blue colors in about the same proportion. Web safe color of #D5B9EF is #CCCCFF (or #CCF).
#D5B9EF color RGB value is (213,185,239).
RGB: (213,185,239) (84%,73%,94%)
R 213 of 255 = 84%
G 185 of 255 = 73%
B 239 of 255 = 94%
R + G + B ~ 84%. #D5B9EF is quite light color.
R + G + B =
213 + 185 + 239 = 637 (100%)
R 213 of 637 ~ 33.44%
G 185 of 637 ~ 29.04%
B 239 of 637 ~ 37.52%
#D5B9EF color CMYK value is (11,23,0,6).
CMYK: (11,23,0,6) C11M23Y0K6 (11%,23%,0%,6%) (0.11/0.23/0.00/0.06)
D5 | B9 | EF | |
---|---|---|---|
RGB | 213 | 185 | 239 |
HSL | 271° | 62.79% | 83.14% |
HSB/HSV | 271° | 22.59% | 93.73% |
CMYK | 10.88% | 22.59% | 0.00% |
6.27% |
HEX | D5 | B9 | EF |
Decimal | 213 | 185 | 239 |
Binary | 11010101 | 10111001 | 11101111 |
Octal | 325 | 271 | 357 |
Examples of css and html codes for elements with #D5B9EF color. Also use rgb(213,185,239) instead hex code.
.myTextColor { color: #D5B9EF; }
<p style="color:#D5B9EF">This sample text font color is #D5B9EF.</p>
This text font color is #D5B9EF.
.myBgColor { background-color: #D5B9EF; }
<div style="background-color:#D5B9EF">Inner text</div>
This div background color is #D5B9EF.
.myBorderColor { border: 1px solid #D5B9EF; }
<div style="border:3px solid #D5B9EF">Div</div>
This div border color is #D5B9EF.
.myOpacity80 { color: #D5B9EF; opacity: 0.8; }
<p style="color:#D5B9EF;opacity:0.8;">80%</p>
Text with #D5B9EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D5B9EF;}
<p style="text-shadow: 3px 3px 1px #D5B9EF">Text here.</p>
This text has shadow with #D5B9EF color.
.textShadow {text-shadow: 3px 3px 1px #D5B9EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D5B9EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #D5B9EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D5B9EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D5B9EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #D5B9EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D5B9EF; -webkit-box-shadow: 1px 1px 3px 2px #D5B9EF; box-shadow: 1px 1px 3px 2px #D5B9EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D5B9EF; -webkit-box-shadow: 1px 1px 3px 2px #D5B9EF; box-shadow:1px 1px 3px 2px #D5B9EF;">
Div content here</div>
This text has color #D5B9EF on black background.
This text has color #D5B9EF on white background.
This text has black color on #D5B9EF background.
This text has white color on #D5B9EF background.