HEX: #AFB4A6
RGB: (175,180,166)
#AFB4A6 contains red, green and blue colors in about the same proportion. Web safe color of #AFB4A6 is #99CC99 (or #9C9).
#AFB4A6 color RGB value is (175,180,166).
RGB: (175,180,166) (69%,71%,65%)
R 175 of 255 = 69%
G 180 of 255 = 71%
B 166 of 255 = 65%
R + G + B ~ 68%. #AFB4A6 is quite light color.
R + G + B =
175 + 180 + 166 = 521 (100%)
R 175 of 521 ~ 33.59%
G 180 of 521 ~ 34.55%
B 166 of 521 ~ 31.86%
#AFB4A6 color CMYK value is (3,0,8,29).
CMYK: (3,0,8,29) C3M0Y8K29 (3%,0%,8%,29%) (0.03/0.00/0.08/0.29)
AF | B4 | A6 | |
---|---|---|---|
RGB | 175 | 180 | 166 |
HSL | 81° | 8.54% | 67.84% |
HSB/HSV | 81° | 7.78% | 70.59% |
CMYK | 2.78% | 0.00% | 7.78% |
29.41% |
HEX | AF | B4 | A6 |
Decimal | 175 | 180 | 166 |
Binary | 10101111 | 10110100 | 10100110 |
Octal | 257 | 264 | 246 |
Examples of css and html codes for elements with #AFB4A6 color. Also use rgb(175,180,166) instead hex code.
.myTextColor { color: #AFB4A6; }
<p style="color:#AFB4A6">This sample text font color is #AFB4A6.</p>
This text font color is #AFB4A6.
.myBgColor { background-color: #AFB4A6; }
<div style="background-color:#AFB4A6">Inner text</div>
This div background color is #AFB4A6.
.myBorderColor { border: 1px solid #AFB4A6; }
<div style="border:3px solid #AFB4A6">Div</div>
This div border color is #AFB4A6.
.myOpacity80 { color: #AFB4A6; opacity: 0.8; }
<p style="color:#AFB4A6;opacity:0.8;">80%</p>
Text with #AFB4A6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFB4A6;}
<p style="text-shadow: 3px 3px 1px #AFB4A6">Text here.</p>
This text has shadow with #AFB4A6 color.
.textShadow {text-shadow: 3px 3px 1px #AFB4A6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFB4A6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFB4A6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFB4A6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFB4A6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFB4A6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFB4A6; -webkit-box-shadow: 1px 1px 3px 2px #AFB4A6; box-shadow: 1px 1px 3px 2px #AFB4A6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFB4A6; -webkit-box-shadow: 1px 1px 3px 2px #AFB4A6; box-shadow:1px 1px 3px 2px #AFB4A6;">
Div content here</div>
This text has color #AFB4A6 on black background.
This text has color #AFB4A6 on white background.
This text has black color on #AFB4A6 background.
This text has white color on #AFB4A6 background.