HEX: #ABA2AB
RGB: (171,162,171)
#ABA2AB contains red, green and blue colors in about the same proportion. Web safe color of #ABA2AB is #999999 (or #999).
#ABA2AB color RGB value is (171,162,171).
RGB: (171,162,171) (67%,64%,67%)
R 171 of 255 = 67%
G 162 of 255 = 64%
B 171 of 255 = 67%
R + G + B ~ 66%. #ABA2AB is quite light color.
R + G + B =
171 + 162 + 171 = 504 (100%)
R 171 of 504 ~ 33.93%
G 162 of 504 ~ 32.14%
B 171 of 504 ~ 33.93%
#ABA2AB color CMYK value is (0,5,0,33).
CMYK: (0,5,0,33) C0M5Y0K33 (0%,5%,0%,33%) (0.00/0.05/0.00/0.33)
AB | A2 | AB | |
---|---|---|---|
RGB | 171 | 162 | 171 |
HSL | 300° | 5.08% | 65.29% |
HSB/HSV | 300° | 5.26% | 67.06% |
CMYK | 0.00% | 5.26% | 0.00% |
32.94% |
HEX | AB | A2 | AB |
Decimal | 171 | 162 | 171 |
Binary | 10101011 | 10100010 | 10101011 |
Octal | 253 | 242 | 253 |
Examples of css and html codes for elements with #ABA2AB color. Also use rgb(171,162,171) instead hex code.
.myTextColor { color: #ABA2AB; }
<p style="color:#ABA2AB">This sample text font color is #ABA2AB.</p>
This text font color is #ABA2AB.
.myBgColor { background-color: #ABA2AB; }
<div style="background-color:#ABA2AB">Inner text</div>
This div background color is #ABA2AB.
.myBorderColor { border: 1px solid #ABA2AB; }
<div style="border:3px solid #ABA2AB">Div</div>
This div border color is #ABA2AB.
.myOpacity80 { color: #ABA2AB; opacity: 0.8; }
<p style="color:#ABA2AB;opacity:0.8;">80%</p>
Text with #ABA2AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ABA2AB;}
<p style="text-shadow: 3px 3px 1px #ABA2AB">Text here.</p>
This text has shadow with #ABA2AB color.
.textShadow {text-shadow: 3px 3px 1px #ABA2AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ABA2AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #ABA2AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ABA2AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ABA2AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #ABA2AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ABA2AB; -webkit-box-shadow: 1px 1px 3px 2px #ABA2AB; box-shadow: 1px 1px 3px 2px #ABA2AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ABA2AB; -webkit-box-shadow: 1px 1px 3px 2px #ABA2AB; box-shadow:1px 1px 3px 2px #ABA2AB;">
Div content here</div>
This text has color #ABA2AB on black background.
This text has color #ABA2AB on white background.
This text has black color on #ABA2AB background.
This text has white color on #ABA2AB background.