HEX: #A5AFA2
RGB: (165,175,162)
#A5AFA2 contains red, green and blue colors in about the same proportion. Web safe color of #A5AFA2 is #999999 (or #999).
#A5AFA2 color RGB value is (165,175,162).
RGB: (165,175,162) (65%,69%,64%)
R 165 of 255 = 65%
G 175 of 255 = 69%
B 162 of 255 = 64%
R + G + B ~ 66%. #A5AFA2 is quite light color.
R + G + B =
165 + 175 + 162 = 502 (100%)
R 165 of 502 ~ 32.87%
G 175 of 502 ~ 34.86%
B 162 of 502 ~ 32.27%
#A5AFA2 color CMYK value is (6,0,7,31).
CMYK: (6,0,7,31) C6M0Y7K31 (6%,0%,7%,31%) (0.06/0.00/0.07/0.31)
A5 | AF | A2 | |
---|---|---|---|
RGB | 165 | 175 | 162 |
HSL | 106° | 7.51% | 66.08% |
HSB/HSV | 106° | 7.43% | 68.63% |
CMYK | 5.71% | 0.00% | 7.43% |
31.37% |
HEX | A5 | AF | A2 |
Decimal | 165 | 175 | 162 |
Binary | 10100101 | 10101111 | 10100010 |
Octal | 245 | 257 | 242 |
Examples of css and html codes for elements with #A5AFA2 color. Also use rgb(165,175,162) instead hex code.
.myTextColor { color: #A5AFA2; }
<p style="color:#A5AFA2">This sample text font color is #A5AFA2.</p>
This text font color is #A5AFA2.
.myBgColor { background-color: #A5AFA2; }
<div style="background-color:#A5AFA2">Inner text</div>
This div background color is #A5AFA2.
.myBorderColor { border: 1px solid #A5AFA2; }
<div style="border:3px solid #A5AFA2">Div</div>
This div border color is #A5AFA2.
.myOpacity80 { color: #A5AFA2; opacity: 0.8; }
<p style="color:#A5AFA2;opacity:0.8;">80%</p>
Text with #A5AFA2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5AFA2;}
<p style="text-shadow: 3px 3px 1px #A5AFA2">Text here.</p>
This text has shadow with #A5AFA2 color.
.textShadow {text-shadow: 3px 3px 1px #A5AFA2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5AFA2, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5AFA2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5AFA2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5AFA2, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5AFA2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5AFA2; -webkit-box-shadow: 1px 1px 3px 2px #A5AFA2; box-shadow: 1px 1px 3px 2px #A5AFA2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5AFA2; -webkit-box-shadow: 1px 1px 3px 2px #A5AFA2; box-shadow:1px 1px 3px 2px #A5AFA2;">
Div content here</div>
This text has color #A5AFA2 on black background.
This text has color #A5AFA2 on white background.
This text has black color on #A5AFA2 background.
This text has white color on #A5AFA2 background.