HEX: #B1B1AB
RGB: (177,177,171)
#B1B1AB contains red, green and blue colors in about the same proportion. Web safe color of #B1B1AB is #999999 (or #999).
#B1B1AB color RGB value is (177,177,171).
RGB: (177,177,171) (69%,69%,67%)
R 177 of 255 = 69%
G 177 of 255 = 69%
B 171 of 255 = 67%
R + G + B ~ 68%. #B1B1AB is quite light color.
R + G + B =
177 + 177 + 171 = 525 (100%)
R 177 of 525 ~ 33.71%
G 177 of 525 ~ 33.71%
B 171 of 525 ~ 32.57%
#B1B1AB color CMYK value is (0,0,3,31).
CMYK: (0,0,3,31) C0M0Y3K31 (0%,0%,3%,31%) (0.00/0.00/0.03/0.31)
B1 | B1 | AB | |
---|---|---|---|
RGB | 177 | 177 | 171 |
HSL | 60° | 3.70% | 68.24% |
HSB/HSV | 60° | 3.39% | 69.41% |
CMYK | 0.00% | 0.00% | 3.39% |
30.59% |
HEX | B1 | B1 | AB |
Decimal | 177 | 177 | 171 |
Binary | 10110001 | 10110001 | 10101011 |
Octal | 261 | 261 | 253 |
Examples of css and html codes for elements with #B1B1AB color. Also use rgb(177,177,171) instead hex code.
.myTextColor { color: #B1B1AB; }
<p style="color:#B1B1AB">This sample text font color is #B1B1AB.</p>
This text font color is #B1B1AB.
.myBgColor { background-color: #B1B1AB; }
<div style="background-color:#B1B1AB">Inner text</div>
This div background color is #B1B1AB.
.myBorderColor { border: 1px solid #B1B1AB; }
<div style="border:3px solid #B1B1AB">Div</div>
This div border color is #B1B1AB.
.myOpacity80 { color: #B1B1AB; opacity: 0.8; }
<p style="color:#B1B1AB;opacity:0.8;">80%</p>
Text with #B1B1AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B1B1AB;}
<p style="text-shadow: 3px 3px 1px #B1B1AB">Text here.</p>
This text has shadow with #B1B1AB color.
.textShadow {text-shadow: 3px 3px 1px #B1B1AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B1B1AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #B1B1AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B1B1AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B1B1AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #B1B1AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B1B1AB; -webkit-box-shadow: 1px 1px 3px 2px #B1B1AB; box-shadow: 1px 1px 3px 2px #B1B1AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B1B1AB; -webkit-box-shadow: 1px 1px 3px 2px #B1B1AB; box-shadow:1px 1px 3px 2px #B1B1AB;">
Div content here</div>
This text has color #B1B1AB on black background.
This text has color #B1B1AB on white background.
This text has black color on #B1B1AB background.
This text has white color on #B1B1AB background.