HEX: #AAB2AA
RGB: (170,178,170)
#AAB2AA contains red, green and blue colors in about the same proportion. Web safe color of #AAB2AA is #999999 (or #999).
#AAB2AA color RGB value is (170,178,170).
RGB: (170,178,170) (67%,70%,67%)
R 170 of 255 = 67%
G 178 of 255 = 70%
B 170 of 255 = 67%
R + G + B ~ 68%. #AAB2AA is quite light color.
R + G + B =
170 + 178 + 170 = 518 (100%)
R 170 of 518 ~ 32.82%
G 178 of 518 ~ 34.36%
B 170 of 518 ~ 32.82%
#AAB2AA color CMYK value is (4,0,4,30).
CMYK: (4,0,4,30) C4M0Y4K30 (4%,0%,4%,30%) (0.04/0.00/0.04/0.30)
AA | B2 | AA | |
---|---|---|---|
RGB | 170 | 178 | 170 |
HSL | 120° | 4.94% | 68.24% |
HSB/HSV | 120° | 4.49% | 69.80% |
CMYK | 4.49% | 0.00% | 4.49% |
30.20% |
HEX | AA | B2 | AA |
Decimal | 170 | 178 | 170 |
Binary | 10101010 | 10110010 | 10101010 |
Octal | 252 | 262 | 252 |
Examples of css and html codes for elements with #AAB2AA color. Also use rgb(170,178,170) instead hex code.
.myTextColor { color: #AAB2AA; }
<p style="color:#AAB2AA">This sample text font color is #AAB2AA.</p>
This text font color is #AAB2AA.
.myBgColor { background-color: #AAB2AA; }
<div style="background-color:#AAB2AA">Inner text</div>
This div background color is #AAB2AA.
.myBorderColor { border: 1px solid #AAB2AA; }
<div style="border:3px solid #AAB2AA">Div</div>
This div border color is #AAB2AA.
.myOpacity80 { color: #AAB2AA; opacity: 0.8; }
<p style="color:#AAB2AA;opacity:0.8;">80%</p>
Text with #AAB2AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AAB2AA;}
<p style="text-shadow: 3px 3px 1px #AAB2AA">Text here.</p>
This text has shadow with #AAB2AA color.
.textShadow {text-shadow: 3px 3px 1px #AAB2AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AAB2AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #AAB2AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AAB2AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AAB2AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #AAB2AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AAB2AA; -webkit-box-shadow: 1px 1px 3px 2px #AAB2AA; box-shadow: 1px 1px 3px 2px #AAB2AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AAB2AA; -webkit-box-shadow: 1px 1px 3px 2px #AAB2AA; box-shadow:1px 1px 3px 2px #AAB2AA;">
Div content here</div>
This text has color #AAB2AA on black background.
This text has color #AAB2AA on white background.
This text has black color on #AAB2AA background.
This text has white color on #AAB2AA background.