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