HEX: #B5A1BD
RGB: (181,161,189)
#B5A1BD contains red, green and blue colors in about the same proportion. Web safe color of #B5A1BD is #CC99CC (or #C9C).
#B5A1BD color RGB value is (181,161,189).
RGB: (181,161,189) (71%,63%,74%)
R 181 of 255 = 71%
G 161 of 255 = 63%
B 189 of 255 = 74%
R + G + B ~ 69%. #B5A1BD is quite light color.
R + G + B =
181 + 161 + 189 = 531 (100%)
R 181 of 531 ~ 34.09%
G 161 of 531 ~ 30.32%
B 189 of 531 ~ 35.59%
#B5A1BD color CMYK value is (4,15,0,26).
CMYK: (4,15,0,26) C4M15Y0K26 (4%,15%,0%,26%) (0.04/0.15/0.00/0.26)
B5 | A1 | BD | |
---|---|---|---|
RGB | 181 | 161 | 189 |
HSL | 283° | 17.50% | 68.63% |
HSB/HSV | 283° | 14.81% | 74.12% |
CMYK | 4.23% | 14.81% | 0.00% |
25.88% |
HEX | B5 | A1 | BD |
Decimal | 181 | 161 | 189 |
Binary | 10110101 | 10100001 | 10111101 |
Octal | 265 | 241 | 275 |
Examples of css and html codes for elements with #B5A1BD color. Also use rgb(181,161,189) instead hex code.
.myTextColor { color: #B5A1BD; }
<p style="color:#B5A1BD">This sample text font color is #B5A1BD.</p>
This text font color is #B5A1BD.
.myBgColor { background-color: #B5A1BD; }
<div style="background-color:#B5A1BD">Inner text</div>
This div background color is #B5A1BD.
.myBorderColor { border: 1px solid #B5A1BD; }
<div style="border:3px solid #B5A1BD">Div</div>
This div border color is #B5A1BD.
.myOpacity80 { color: #B5A1BD; opacity: 0.8; }
<p style="color:#B5A1BD;opacity:0.8;">80%</p>
Text with #B5A1BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B5A1BD;}
<p style="text-shadow: 3px 3px 1px #B5A1BD">Text here.</p>
This text has shadow with #B5A1BD color.
.textShadow {text-shadow: 3px 3px 1px #B5A1BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B5A1BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #B5A1BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B5A1BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B5A1BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #B5A1BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B5A1BD; -webkit-box-shadow: 1px 1px 3px 2px #B5A1BD; box-shadow: 1px 1px 3px 2px #B5A1BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B5A1BD; -webkit-box-shadow: 1px 1px 3px 2px #B5A1BD; box-shadow:1px 1px 3px 2px #B5A1BD;">
Div content here</div>
This text has color #B5A1BD on black background.
This text has color #B5A1BD on white background.
This text has black color on #B5A1BD background.
This text has white color on #B5A1BD background.