HEX: #ABAB9F
RGB: (171,171,159)
#ABAB9F contains red, green and blue colors in about the same proportion. Web safe color of #ABAB9F is #999999 (or #999).
#ABAB9F color RGB value is (171,171,159).
RGB: (171,171,159) (67%,67%,62%)
R 171 of 255 = 67%
G 171 of 255 = 67%
B 159 of 255 = 62%
R + G + B ~ 65%. #ABAB9F is quite light color.
R + G + B =
171 + 171 + 159 = 501 (100%)
R 171 of 501 ~ 34.13%
G 171 of 501 ~ 34.13%
B 159 of 501 ~ 31.74%
#ABAB9F color CMYK value is (0,0,7,33).
CMYK: (0,0,7,33) C0M0Y7K33 (0%,0%,7%,33%) (0.00/0.00/0.07/0.33)
AB | AB | 9F | |
---|---|---|---|
RGB | 171 | 171 | 159 |
HSL | 60° | 6.67% | 64.71% |
HSB/HSV | 60° | 7.02% | 67.06% |
CMYK | 0.00% | 0.00% | 7.02% |
32.94% |
HEX | AB | AB | 9F |
Decimal | 171 | 171 | 159 |
Binary | 10101011 | 10101011 | 10011111 |
Octal | 253 | 253 | 237 |
Examples of css and html codes for elements with #ABAB9F color. Also use rgb(171,171,159) instead hex code.
.myTextColor { color: #ABAB9F; }
<p style="color:#ABAB9F">This sample text font color is #ABAB9F.</p>
This text font color is #ABAB9F.
.myBgColor { background-color: #ABAB9F; }
<div style="background-color:#ABAB9F">Inner text</div>
This div background color is #ABAB9F.
.myBorderColor { border: 1px solid #ABAB9F; }
<div style="border:3px solid #ABAB9F">Div</div>
This div border color is #ABAB9F.
.myOpacity80 { color: #ABAB9F; opacity: 0.8; }
<p style="color:#ABAB9F;opacity:0.8;">80%</p>
Text with #ABAB9F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ABAB9F;}
<p style="text-shadow: 3px 3px 1px #ABAB9F">Text here.</p>
This text has shadow with #ABAB9F color.
.textShadow {text-shadow: 3px 3px 1px #ABAB9F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ABAB9F, 5px 5px 20px red">Text here.</p>
This text has shadow with #ABAB9F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ABAB9F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ABAB9F, Direction=45, Strength=4)">Text</p>
This text has shadow with #ABAB9F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ABAB9F; -webkit-box-shadow: 1px 1px 3px 2px #ABAB9F; box-shadow: 1px 1px 3px 2px #ABAB9F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ABAB9F; -webkit-box-shadow: 1px 1px 3px 2px #ABAB9F; box-shadow:1px 1px 3px 2px #ABAB9F;">
Div content here</div>
This text has color #ABAB9F on black background.
This text has color #ABAB9F on white background.
This text has black color on #ABAB9F background.
This text has white color on #ABAB9F background.