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