HEX: #AFB5AB
RGB: (175,181,171)
#AFB5AB contains red, green and blue colors in about the same proportion. Web safe color of #AFB5AB is #99CC99 (or #9C9).
#AFB5AB color RGB value is (175,181,171).
RGB: (175,181,171) (69%,71%,67%)
R 175 of 255 = 69%
G 181 of 255 = 71%
B 171 of 255 = 67%
R + G + B ~ 69%. #AFB5AB is quite light color.
R + G + B =
175 + 181 + 171 = 527 (100%)
R 175 of 527 ~ 33.21%
G 181 of 527 ~ 34.35%
B 171 of 527 ~ 32.45%
#AFB5AB color CMYK value is (3,0,6,29).
CMYK: (3,0,6,29) C3M0Y6K29 (3%,0%,6%,29%) (0.03/0.00/0.06/0.29)
AF | B5 | AB | |
---|---|---|---|
RGB | 175 | 181 | 171 |
HSL | 96° | 6.33% | 69.02% |
HSB/HSV | 96° | 5.52% | 70.98% |
CMYK | 3.31% | 0.00% | 5.52% |
29.02% |
HEX | AF | B5 | AB |
Decimal | 175 | 181 | 171 |
Binary | 10101111 | 10110101 | 10101011 |
Octal | 257 | 265 | 253 |
Examples of css and html codes for elements with #AFB5AB color. Also use rgb(175,181,171) instead hex code.
.myTextColor { color: #AFB5AB; }
<p style="color:#AFB5AB">This sample text font color is #AFB5AB.</p>
This text font color is #AFB5AB.
.myBgColor { background-color: #AFB5AB; }
<div style="background-color:#AFB5AB">Inner text</div>
This div background color is #AFB5AB.
.myBorderColor { border: 1px solid #AFB5AB; }
<div style="border:3px solid #AFB5AB">Div</div>
This div border color is #AFB5AB.
.myOpacity80 { color: #AFB5AB; opacity: 0.8; }
<p style="color:#AFB5AB;opacity:0.8;">80%</p>
Text with #AFB5AB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFB5AB;}
<p style="text-shadow: 3px 3px 1px #AFB5AB">Text here.</p>
This text has shadow with #AFB5AB color.
.textShadow {text-shadow: 3px 3px 1px #AFB5AB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFB5AB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFB5AB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFB5AB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFB5AB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFB5AB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFB5AB; -webkit-box-shadow: 1px 1px 3px 2px #AFB5AB; box-shadow: 1px 1px 3px 2px #AFB5AB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFB5AB; -webkit-box-shadow: 1px 1px 3px 2px #AFB5AB; box-shadow:1px 1px 3px 2px #AFB5AB;">
Div content here</div>
This text has color #AFB5AB on black background.
This text has color #AFB5AB on white background.
This text has black color on #AFB5AB background.
This text has white color on #AFB5AB background.