HEX: #AFBE7E
RGB: (175,190,126)
#AFBE7E contains mainly red and green colors. Web safe color of #AFBE7E is #99CC66 (or #9C6).
#AFBE7E color RGB value is (175,190,126).
RGB: (175,190,126) (69%,75%,49%)
R 175 of 255 = 69%
G 190 of 255 = 75%
B 126 of 255 = 49%
R + G + B ~ 64%. #AFBE7E is quite light color.
R + G + B =
175 + 190 + 126 = 491 (100%)
R 175 of 491 ~ 35.64%
G 190 of 491 ~ 38.7%
B 126 of 491 ~ 25.66%
#AFBE7E color CMYK value is (8,0,34,25).
CMYK: (8,0,34,25) C8M0Y34K25 (8%,0%,34%,25%) (0.08/0.00/0.34/0.25)
AF | BE | 7E | |
---|---|---|---|
RGB | 175 | 190 | 126 |
HSL | 74° | 32.99% | 61.96% |
HSB/HSV | 74° | 33.68% | 74.51% |
CMYK | 7.89% | 0.00% | 33.68% |
25.49% |
HEX | AF | BE | 7E |
Decimal | 175 | 190 | 126 |
Binary | 10101111 | 10111110 | 1111110 |
Octal | 257 | 276 | 176 |
Examples of css and html codes for elements with #AFBE7E color. Also use rgb(175,190,126) instead hex code.
.myTextColor { color: #AFBE7E; }
<p style="color:#AFBE7E">This sample text font color is #AFBE7E.</p>
This text font color is #AFBE7E.
.myBgColor { background-color: #AFBE7E; }
<div style="background-color:#AFBE7E">Inner text</div>
This div background color is #AFBE7E.
.myBorderColor { border: 1px solid #AFBE7E; }
<div style="border:3px solid #AFBE7E">Div</div>
This div border color is #AFBE7E.
.myOpacity80 { color: #AFBE7E; opacity: 0.8; }
<p style="color:#AFBE7E;opacity:0.8;">80%</p>
Text with #AFBE7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFBE7E;}
<p style="text-shadow: 3px 3px 1px #AFBE7E">Text here.</p>
This text has shadow with #AFBE7E color.
.textShadow {text-shadow: 3px 3px 1px #AFBE7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFBE7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFBE7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFBE7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFBE7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFBE7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFBE7E; -webkit-box-shadow: 1px 1px 3px 2px #AFBE7E; box-shadow: 1px 1px 3px 2px #AFBE7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFBE7E; -webkit-box-shadow: 1px 1px 3px 2px #AFBE7E; box-shadow:1px 1px 3px 2px #AFBE7E;">
Div content here</div>
This text has color #AFBE7E on black background.
This text has color #AFBE7E on white background.
This text has black color on #AFBE7E background.
This text has white color on #AFBE7E background.