HEX: #B6A1DD
RGB: (182,161,221)
#B6A1DD contains mainly red and blue colors. Web safe color of #B6A1DD is #CC99CC (or #C9C).
#B6A1DD color RGB value is (182,161,221).
RGB: (182,161,221) (71%,63%,87%)
R 182 of 255 = 71%
G 161 of 255 = 63%
B 221 of 255 = 87%
R + G + B ~ 74%. #B6A1DD is quite light color.
R + G + B =
182 + 161 + 221 = 564 (100%)
R 182 of 564 ~ 32.27%
G 161 of 564 ~ 28.55%
B 221 of 564 ~ 39.18%
#B6A1DD color CMYK value is (18,27,0,13).
CMYK: (18,27,0,13) C18M27Y0K13 (18%,27%,0%,13%) (0.18/0.27/0.00/0.13)
B6 | A1 | DD | |
---|---|---|---|
RGB | 182 | 161 | 221 |
HSL | 261° | 46.88% | 74.90% |
HSB/HSV | 261° | 27.15% | 86.67% |
CMYK | 17.65% | 27.15% | 0.00% |
13.33% |
HEX | B6 | A1 | DD |
Decimal | 182 | 161 | 221 |
Binary | 10110110 | 10100001 | 11011101 |
Octal | 266 | 241 | 335 |
Examples of css and html codes for elements with #B6A1DD color. Also use rgb(182,161,221) instead hex code.
.myTextColor { color: #B6A1DD; }
<p style="color:#B6A1DD">This sample text font color is #B6A1DD.</p>
This text font color is #B6A1DD.
.myBgColor { background-color: #B6A1DD; }
<div style="background-color:#B6A1DD">Inner text</div>
This div background color is #B6A1DD.
.myBorderColor { border: 1px solid #B6A1DD; }
<div style="border:3px solid #B6A1DD">Div</div>
This div border color is #B6A1DD.
.myOpacity80 { color: #B6A1DD; opacity: 0.8; }
<p style="color:#B6A1DD;opacity:0.8;">80%</p>
Text with #B6A1DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B6A1DD;}
<p style="text-shadow: 3px 3px 1px #B6A1DD">Text here.</p>
This text has shadow with #B6A1DD color.
.textShadow {text-shadow: 3px 3px 1px #B6A1DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B6A1DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B6A1DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B6A1DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B6A1DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B6A1DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B6A1DD; -webkit-box-shadow: 1px 1px 3px 2px #B6A1DD; box-shadow: 1px 1px 3px 2px #B6A1DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B6A1DD; -webkit-box-shadow: 1px 1px 3px 2px #B6A1DD; box-shadow:1px 1px 3px 2px #B6A1DD;">
Div content here</div>
This text has color #B6A1DD on black background.
This text has color #B6A1DD on white background.
This text has black color on #B6A1DD background.
This text has white color on #B6A1DD background.