HEX: #AFD77E
RGB: (175,215,126)
#AFD77E contains mainly red and green colors. Web safe color of #AFD77E is #99CC66 (or #9C6).
#AFD77E color RGB value is (175,215,126).
RGB: (175,215,126) (69%,84%,49%)
R 175 of 255 = 69%
G 215 of 255 = 84%
B 126 of 255 = 49%
R + G + B ~ 67%. #AFD77E is quite light color.
R + G + B =
175 + 215 + 126 = 516 (100%)
R 175 of 516 ~ 33.91%
G 215 of 516 ~ 41.67%
B 126 of 516 ~ 24.42%
#AFD77E color CMYK value is (19,0,41,16).
CMYK: (19,0,41,16) C19M0Y41K16 (19%,0%,41%,16%) (0.19/0.00/0.41/0.16)
AF | D7 | 7E | |
---|---|---|---|
RGB | 175 | 215 | 126 |
HSL | 87° | 52.66% | 66.86% |
HSB/HSV | 87° | 41.40% | 84.31% |
CMYK | 18.60% | 0.00% | 41.40% |
15.69% |
HEX | AF | D7 | 7E |
Decimal | 175 | 215 | 126 |
Binary | 10101111 | 11010111 | 1111110 |
Octal | 257 | 327 | 176 |
Examples of css and html codes for elements with #AFD77E color. Also use rgb(175,215,126) instead hex code.
.myTextColor { color: #AFD77E; }
<p style="color:#AFD77E">This sample text font color is #AFD77E.</p>
This text font color is #AFD77E.
.myBgColor { background-color: #AFD77E; }
<div style="background-color:#AFD77E">Inner text</div>
This div background color is #AFD77E.
.myBorderColor { border: 1px solid #AFD77E; }
<div style="border:3px solid #AFD77E">Div</div>
This div border color is #AFD77E.
.myOpacity80 { color: #AFD77E; opacity: 0.8; }
<p style="color:#AFD77E;opacity:0.8;">80%</p>
Text with #AFD77E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFD77E;}
<p style="text-shadow: 3px 3px 1px #AFD77E">Text here.</p>
This text has shadow with #AFD77E color.
.textShadow {text-shadow: 3px 3px 1px #AFD77E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFD77E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFD77E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFD77E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFD77E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFD77E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFD77E; -webkit-box-shadow: 1px 1px 3px 2px #AFD77E; box-shadow: 1px 1px 3px 2px #AFD77E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFD77E; -webkit-box-shadow: 1px 1px 3px 2px #AFD77E; box-shadow:1px 1px 3px 2px #AFD77E;">
Div content here</div>
This text has color #AFD77E on black background.
This text has color #AFD77E on white background.
This text has black color on #AFD77E background.
This text has white color on #AFD77E background.