HEX: #AFBEAB
RGB: (175,190,171)
#AFBEAB contains red, green and blue colors in about the same proportion. Web safe color of #AFBEAB is #99CC99 (or #9C9).
#AFBEAB color RGB value is (175,190,171).
RGB: (175,190,171) (69%,75%,67%)
R 175 of 255 = 69%
G 190 of 255 = 75%
B 171 of 255 = 67%
R + G + B ~ 70%. #AFBEAB is quite light color.
R + G + B =
175 + 190 + 171 = 536 (100%)
R 175 of 536 ~ 32.65%
G 190 of 536 ~ 35.45%
B 171 of 536 ~ 31.9%
#AFBEAB color CMYK value is (8,0,10,25).
CMYK: (8,0,10,25) C8M0Y10K25 (8%,0%,10%,25%) (0.08/0.00/0.10/0.25)
AF | BE | AB | |
---|---|---|---|
RGB | 175 | 190 | 171 |
HSL | 107° | 12.75% | 70.78% |
HSB/HSV | 107° | 10.00% | 74.51% |
CMYK | 7.89% | 0.00% | 10.00% |
25.49% |
HEX | AF | BE | AB |
Decimal | 175 | 190 | 171 |
Binary | 10101111 | 10111110 | 10101011 |
Octal | 257 | 276 | 253 |
Examples of css and html codes for elements with #AFBEAB color. Also use rgb(175,190,171) instead hex code.
.myTextColor { color: #AFBEAB; }
<p style="color:#AFBEAB">This sample text font color is #AFBEAB.</p>
This text font color is #AFBEAB.
.myBgColor { background-color: #AFBEAB; }
<div style="background-color:#AFBEAB">Inner text</div>
This div background color is #AFBEAB.
.myBorderColor { border: 1px solid #AFBEAB; }
<div style="border:3px solid #AFBEAB">Div</div>
This div border color is #AFBEAB.
.myOpacity80 { color: #AFBEAB; opacity: 0.8; }
<p style="color:#AFBEAB;opacity:0.8;">80%</p>
Text with #AFBEAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFBEAB;}
<p style="text-shadow: 3px 3px 1px #AFBEAB">Text here.</p>
This text has shadow with #AFBEAB color.
.textShadow {text-shadow: 3px 3px 1px #AFBEAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFBEAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFBEAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFBEAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFBEAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFBEAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFBEAB; -webkit-box-shadow: 1px 1px 3px 2px #AFBEAB; box-shadow: 1px 1px 3px 2px #AFBEAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFBEAB; -webkit-box-shadow: 1px 1px 3px 2px #AFBEAB; box-shadow:1px 1px 3px 2px #AFBEAB;">
Div content here</div>
This text has color #AFBEAB on black background.
This text has color #AFBEAB on white background.
This text has black color on #AFBEAB background.
This text has white color on #AFBEAB background.