HEX: #AFA7AB
RGB: (175,167,171)
#AFA7AB contains red, green and blue colors in about the same proportion. Web safe color of #AFA7AB is #999999 (or #999).
#AFA7AB color RGB value is (175,167,171).
RGB: (175,167,171) (69%,65%,67%)
R 175 of 255 = 69%
G 167 of 255 = 65%
B 171 of 255 = 67%
R + G + B ~ 67%. #AFA7AB is quite light color.
R + G + B =
175 + 167 + 171 = 513 (100%)
R 175 of 513 ~ 34.11%
G 167 of 513 ~ 32.55%
B 171 of 513 ~ 33.33%
#AFA7AB color CMYK value is (0,5,2,31).
CMYK: (0,5,2,31) C0M5Y2K31 (0%,5%,2%,31%) (0.00/0.05/0.02/0.31)
AF | A7 | AB | |
---|---|---|---|
RGB | 175 | 167 | 171 |
HSL | 330° | 4.76% | 67.06% |
HSB/HSV | 330° | 4.57% | 68.63% |
CMYK | 0.00% | 4.57% | 2.29% |
31.37% |
HEX | AF | A7 | AB |
Decimal | 175 | 167 | 171 |
Binary | 10101111 | 10100111 | 10101011 |
Octal | 257 | 247 | 253 |
Examples of css and html codes for elements with #AFA7AB color. Also use rgb(175,167,171) instead hex code.
.myTextColor { color: #AFA7AB; }
<p style="color:#AFA7AB">This sample text font color is #AFA7AB.</p>
This text font color is #AFA7AB.
.myBgColor { background-color: #AFA7AB; }
<div style="background-color:#AFA7AB">Inner text</div>
This div background color is #AFA7AB.
.myBorderColor { border: 1px solid #AFA7AB; }
<div style="border:3px solid #AFA7AB">Div</div>
This div border color is #AFA7AB.
.myOpacity80 { color: #AFA7AB; opacity: 0.8; }
<p style="color:#AFA7AB;opacity:0.8;">80%</p>
Text with #AFA7AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA7AB;}
<p style="text-shadow: 3px 3px 1px #AFA7AB">Text here.</p>
This text has shadow with #AFA7AB color.
.textShadow {text-shadow: 3px 3px 1px #AFA7AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA7AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA7AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA7AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA7AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA7AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA7AB; -webkit-box-shadow: 1px 1px 3px 2px #AFA7AB; box-shadow: 1px 1px 3px 2px #AFA7AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA7AB; -webkit-box-shadow: 1px 1px 3px 2px #AFA7AB; box-shadow:1px 1px 3px 2px #AFA7AB;">
Div content here</div>
This text has color #AFA7AB on black background.
This text has color #AFA7AB on white background.
This text has black color on #AFA7AB background.
This text has white color on #AFA7AB background.