HEX: #B9A7DB
RGB: (185,167,219)
#B9A7DB contains red, green and blue colors in about the same proportion. Web safe color of #B9A7DB is #CC99CC (or #C9C).
#B9A7DB color RGB value is (185,167,219).
RGB: (185,167,219) (73%,65%,86%)
R 185 of 255 = 73%
G 167 of 255 = 65%
B 219 of 255 = 86%
R + G + B ~ 75%. #B9A7DB is quite light color.
R + G + B =
185 + 167 + 219 = 571 (100%)
R 185 of 571 ~ 32.4%
G 167 of 571 ~ 29.25%
B 219 of 571 ~ 38.35%
#B9A7DB color CMYK value is (16,24,0,14).
CMYK: (16,24,0,14) C16M24Y0K14 (16%,24%,0%,14%) (0.16/0.24/0.00/0.14)
B9 | A7 | DB | |
---|---|---|---|
RGB | 185 | 167 | 219 |
HSL | 261° | 41.94% | 75.69% |
HSB/HSV | 261° | 23.74% | 85.88% |
CMYK | 15.53% | 23.74% | 0.00% |
14.12% |
HEX | B9 | A7 | DB |
Decimal | 185 | 167 | 219 |
Binary | 10111001 | 10100111 | 11011011 |
Octal | 271 | 247 | 333 |
Examples of css and html codes for elements with #B9A7DB color. Also use rgb(185,167,219) instead hex code.
.myTextColor { color: #B9A7DB; }
<p style="color:#B9A7DB">This sample text font color is #B9A7DB.</p>
This text font color is #B9A7DB.
.myBgColor { background-color: #B9A7DB; }
<div style="background-color:#B9A7DB">Inner text</div>
This div background color is #B9A7DB.
.myBorderColor { border: 1px solid #B9A7DB; }
<div style="border:3px solid #B9A7DB">Div</div>
This div border color is #B9A7DB.
.myOpacity80 { color: #B9A7DB; opacity: 0.8; }
<p style="color:#B9A7DB;opacity:0.8;">80%</p>
Text with #B9A7DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9A7DB;}
<p style="text-shadow: 3px 3px 1px #B9A7DB">Text here.</p>
This text has shadow with #B9A7DB color.
.textShadow {text-shadow: 3px 3px 1px #B9A7DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9A7DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9A7DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9A7DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9A7DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9A7DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B9A7DB; -webkit-box-shadow: 1px 1px 3px 2px #B9A7DB; box-shadow: 1px 1px 3px 2px #B9A7DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B9A7DB; -webkit-box-shadow: 1px 1px 3px 2px #B9A7DB; box-shadow:1px 1px 3px 2px #B9A7DB;">
Div content here</div>
This text has color #B9A7DB on black background.
This text has color #B9A7DB on white background.
This text has black color on #B9A7DB background.
This text has white color on #B9A7DB background.