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