HEX: #B6A6DB
RGB: (182,166,219)
#B6A6DB contains red, green and blue colors in about the same proportion. Web safe color of #B6A6DB is #CC99CC (or #C9C).
#B6A6DB color RGB value is (182,166,219).
RGB: (182,166,219) (71%,65%,86%)
R 182 of 255 = 71%
G 166 of 255 = 65%
B 219 of 255 = 86%
R + G + B ~ 74%. #B6A6DB is quite light color.
R + G + B =
182 + 166 + 219 = 567 (100%)
R 182 of 567 ~ 32.1%
G 166 of 567 ~ 29.28%
B 219 of 567 ~ 38.62%
#B6A6DB color CMYK value is (17,24,0,14).
CMYK: (17,24,0,14) C17M24Y0K14 (17%,24%,0%,14%) (0.17/0.24/0.00/0.14)
B6 | A6 | DB | |
---|---|---|---|
RGB | 182 | 166 | 219 |
HSL | 258° | 42.40% | 75.49% |
HSB/HSV | 258° | 24.20% | 85.88% |
CMYK | 16.89% | 24.20% | 0.00% |
14.12% |
HEX | B6 | A6 | DB |
Decimal | 182 | 166 | 219 |
Binary | 10110110 | 10100110 | 11011011 |
Octal | 266 | 246 | 333 |
Examples of css and html codes for elements with #B6A6DB color. Also use rgb(182,166,219) instead hex code.
.myTextColor { color: #B6A6DB; }
<p style="color:#B6A6DB">This sample text font color is #B6A6DB.</p>
This text font color is #B6A6DB.
.myBgColor { background-color: #B6A6DB; }
<div style="background-color:#B6A6DB">Inner text</div>
This div background color is #B6A6DB.
.myBorderColor { border: 1px solid #B6A6DB; }
<div style="border:3px solid #B6A6DB">Div</div>
This div border color is #B6A6DB.
.myOpacity80 { color: #B6A6DB; opacity: 0.8; }
<p style="color:#B6A6DB;opacity:0.8;">80%</p>
Text with #B6A6DB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B6A6DB;}
<p style="text-shadow: 3px 3px 1px #B6A6DB">Text here.</p>
This text has shadow with #B6A6DB color.
.textShadow {text-shadow: 3px 3px 1px #B6A6DB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B6A6DB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B6A6DB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B6A6DB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B6A6DB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B6A6DB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B6A6DB; -webkit-box-shadow: 1px 1px 3px 2px #B6A6DB; box-shadow: 1px 1px 3px 2px #B6A6DB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B6A6DB; -webkit-box-shadow: 1px 1px 3px 2px #B6A6DB; box-shadow:1px 1px 3px 2px #B6A6DB;">
Div content here</div>
This text has color #B6A6DB on black background.
This text has color #B6A6DB on white background.
This text has black color on #B6A6DB background.
This text has white color on #B6A6DB background.