HEX: #AFB37E
RGB: (175,179,126)
#AFB37E contains red, green and blue colors in about the same proportion. Web safe color of #AFB37E is #999966 (or #996).
#AFB37E color RGB value is (175,179,126).
RGB: (175,179,126) (69%,70%,49%)
R 175 of 255 = 69%
G 179 of 255 = 70%
B 126 of 255 = 49%
R + G + B ~ 63%. #AFB37E is quite light color.
R + G + B =
175 + 179 + 126 = 480 (100%)
R 175 of 480 ~ 36.46%
G 179 of 480 ~ 37.29%
B 126 of 480 ~ 26.25%
#AFB37E color CMYK value is (2,0,30,30).
CMYK: (2,0,30,30) C2M0Y30K30 (2%,0%,30%,30%) (0.02/0.00/0.30/0.30)
AF | B3 | 7E | |
---|---|---|---|
RGB | 175 | 179 | 126 |
HSL | 65° | 25.85% | 59.80% |
HSB/HSV | 65° | 29.61% | 70.20% |
CMYK | 2.23% | 0.00% | 29.61% |
29.80% |
HEX | AF | B3 | 7E |
Decimal | 175 | 179 | 126 |
Binary | 10101111 | 10110011 | 1111110 |
Octal | 257 | 263 | 176 |
Examples of css and html codes for elements with #AFB37E color. Also use rgb(175,179,126) instead hex code.
.myTextColor { color: #AFB37E; }
<p style="color:#AFB37E">This sample text font color is #AFB37E.</p>
This text font color is #AFB37E.
.myBgColor { background-color: #AFB37E; }
<div style="background-color:#AFB37E">Inner text</div>
This div background color is #AFB37E.
.myBorderColor { border: 1px solid #AFB37E; }
<div style="border:3px solid #AFB37E">Div</div>
This div border color is #AFB37E.
.myOpacity80 { color: #AFB37E; opacity: 0.8; }
<p style="color:#AFB37E;opacity:0.8;">80%</p>
Text with #AFB37E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFB37E;}
<p style="text-shadow: 3px 3px 1px #AFB37E">Text here.</p>
This text has shadow with #AFB37E color.
.textShadow {text-shadow: 3px 3px 1px #AFB37E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFB37E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFB37E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFB37E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFB37E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFB37E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFB37E; -webkit-box-shadow: 1px 1px 3px 2px #AFB37E; box-shadow: 1px 1px 3px 2px #AFB37E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFB37E; -webkit-box-shadow: 1px 1px 3px 2px #AFB37E; box-shadow:1px 1px 3px 2px #AFB37E;">
Div content here</div>
This text has color #AFB37E on black background.
This text has color #AFB37E on white background.
This text has black color on #AFB37E background.
This text has white color on #AFB37E background.