HEX: #AFA6BD
RGB: (175,166,189)
#AFA6BD contains red, green and blue colors in about the same proportion. Web safe color of #AFA6BD is #9999CC (or #99C).
#AFA6BD color RGB value is (175,166,189).
RGB: (175,166,189) (69%,65%,74%)
R 175 of 255 = 69%
G 166 of 255 = 65%
B 189 of 255 = 74%
R + G + B ~ 69%. #AFA6BD is quite light color.
R + G + B =
175 + 166 + 189 = 530 (100%)
R 175 of 530 ~ 33.02%
G 166 of 530 ~ 31.32%
B 189 of 530 ~ 35.66%
#AFA6BD color CMYK value is (7,12,0,26).
CMYK: (7,12,0,26) C7M12Y0K26 (7%,12%,0%,26%) (0.07/0.12/0.00/0.26)
AF | A6 | BD | |
---|---|---|---|
RGB | 175 | 166 | 189 |
HSL | 263° | 14.84% | 69.61% |
HSB/HSV | 263° | 12.17% | 74.12% |
CMYK | 7.41% | 12.17% | 0.00% |
25.88% |
HEX | AF | A6 | BD |
Decimal | 175 | 166 | 189 |
Binary | 10101111 | 10100110 | 10111101 |
Octal | 257 | 246 | 275 |
Examples of css and html codes for elements with #AFA6BD color. Also use rgb(175,166,189) instead hex code.
.myTextColor { color: #AFA6BD; }
<p style="color:#AFA6BD">This sample text font color is #AFA6BD.</p>
This text font color is #AFA6BD.
.myBgColor { background-color: #AFA6BD; }
<div style="background-color:#AFA6BD">Inner text</div>
This div background color is #AFA6BD.
.myBorderColor { border: 1px solid #AFA6BD; }
<div style="border:3px solid #AFA6BD">Div</div>
This div border color is #AFA6BD.
.myOpacity80 { color: #AFA6BD; opacity: 0.8; }
<p style="color:#AFA6BD;opacity:0.8;">80%</p>
Text with #AFA6BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFA6BD;}
<p style="text-shadow: 3px 3px 1px #AFA6BD">Text here.</p>
This text has shadow with #AFA6BD color.
.textShadow {text-shadow: 3px 3px 1px #AFA6BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFA6BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFA6BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFA6BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFA6BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFA6BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFA6BD; -webkit-box-shadow: 1px 1px 3px 2px #AFA6BD; box-shadow: 1px 1px 3px 2px #AFA6BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFA6BD; -webkit-box-shadow: 1px 1px 3px 2px #AFA6BD; box-shadow:1px 1px 3px 2px #AFA6BD;">
Div content here</div>
This text has color #AFA6BD on black background.
This text has color #AFA6BD on white background.
This text has black color on #AFA6BD background.
This text has white color on #AFA6BD background.