HEX: #B6A5DC
RGB: (182,165,220)
#B6A5DC contains red, green and blue colors in about the same proportion. Web safe color of #B6A5DC is #CC99CC (or #C9C).
#B6A5DC color RGB value is (182,165,220).
RGB: (182,165,220) (71%,65%,86%)
R 182 of 255 = 71%
G 165 of 255 = 65%
B 220 of 255 = 86%
R + G + B ~ 74%. #B6A5DC is quite light color.
R + G + B =
182 + 165 + 220 = 567 (100%)
R 182 of 567 ~ 32.1%
G 165 of 567 ~ 29.1%
B 220 of 567 ~ 38.8%
#B6A5DC color CMYK value is (17,25,0,14).
CMYK: (17,25,0,14) C17M25Y0K14 (17%,25%,0%,14%) (0.17/0.25/0.00/0.14)
B6 | A5 | DC | |
---|---|---|---|
RGB | 182 | 165 | 220 |
HSL | 259° | 44.00% | 75.49% |
HSB/HSV | 259° | 25.00% | 86.27% |
CMYK | 17.27% | 25.00% | 0.00% |
13.73% |
HEX | B6 | A5 | DC |
Decimal | 182 | 165 | 220 |
Binary | 10110110 | 10100101 | 11011100 |
Octal | 266 | 245 | 334 |
Examples of css and html codes for elements with #B6A5DC color. Also use rgb(182,165,220) instead hex code.
.myTextColor { color: #B6A5DC; }
<p style="color:#B6A5DC">This sample text font color is #B6A5DC.</p>
This text font color is #B6A5DC.
.myBgColor { background-color: #B6A5DC; }
<div style="background-color:#B6A5DC">Inner text</div>
This div background color is #B6A5DC.
.myBorderColor { border: 1px solid #B6A5DC; }
<div style="border:3px solid #B6A5DC">Div</div>
This div border color is #B6A5DC.
.myOpacity80 { color: #B6A5DC; opacity: 0.8; }
<p style="color:#B6A5DC;opacity:0.8;">80%</p>
Text with #B6A5DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B6A5DC;}
<p style="text-shadow: 3px 3px 1px #B6A5DC">Text here.</p>
This text has shadow with #B6A5DC color.
.textShadow {text-shadow: 3px 3px 1px #B6A5DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B6A5DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B6A5DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B6A5DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B6A5DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B6A5DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B6A5DC; -webkit-box-shadow: 1px 1px 3px 2px #B6A5DC; box-shadow: 1px 1px 3px 2px #B6A5DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B6A5DC; -webkit-box-shadow: 1px 1px 3px 2px #B6A5DC; box-shadow:1px 1px 3px 2px #B6A5DC;">
Div content here</div>
This text has color #B6A5DC on black background.
This text has color #B6A5DC on white background.
This text has black color on #B6A5DC background.
This text has white color on #B6A5DC background.