HEX: #AFE772
RGB: (175,231,114)
#AFE772 contains mainly red and green colors. Web safe color of #AFE772 is #99FF66 (or #9F6).
#AFE772 color RGB value is (175,231,114).
RGB: (175,231,114) (69%,91%,45%)
R 175 of 255 = 69%
G 231 of 255 = 91%
B 114 of 255 = 45%
R + G + B ~ 68%. #AFE772 is quite light color.
R + G + B =
175 + 231 + 114 = 520 (100%)
R 175 of 520 ~ 33.65%
G 231 of 520 ~ 44.42%
B 114 of 520 ~ 21.92%
#AFE772 color CMYK value is (24,0,51,9).
CMYK: (24,0,51,9) C24M0Y51K9 (24%,0%,51%,9%) (0.24/0.00/0.51/0.09)
AF | E7 | 72 | |
---|---|---|---|
RGB | 175 | 231 | 114 |
HSL | 89° | 70.91% | 67.65% |
HSB/HSV | 89° | 50.65% | 90.59% |
CMYK | 24.24% | 0.00% | 50.65% |
9.41% |
HEX | AF | E7 | 72 |
Decimal | 175 | 231 | 114 |
Binary | 10101111 | 11100111 | 1110010 |
Octal | 257 | 347 | 162 |
Examples of css and html codes for elements with #AFE772 color. Also use rgb(175,231,114) instead hex code.
.myTextColor { color: #AFE772; }
<p style="color:#AFE772">This sample text font color is #AFE772.</p>
This text font color is #AFE772.
.myBgColor { background-color: #AFE772; }
<div style="background-color:#AFE772">Inner text</div>
This div background color is #AFE772.
.myBorderColor { border: 1px solid #AFE772; }
<div style="border:3px solid #AFE772">Div</div>
This div border color is #AFE772.
.myOpacity80 { color: #AFE772; opacity: 0.8; }
<p style="color:#AFE772;opacity:0.8;">80%</p>
Text with #AFE772 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFE772;}
<p style="text-shadow: 3px 3px 1px #AFE772">Text here.</p>
This text has shadow with #AFE772 color.
.textShadow {text-shadow: 3px 3px 1px #AFE772, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFE772, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFE772 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFE772, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFE772, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFE772 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFE772; -webkit-box-shadow: 1px 1px 3px 2px #AFE772; box-shadow: 1px 1px 3px 2px #AFE772; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFE772; -webkit-box-shadow: 1px 1px 3px 2px #AFE772; box-shadow:1px 1px 3px 2px #AFE772;">
Div content here</div>
This text has color #AFE772 on black background.
This text has color #AFE772 on white background.
This text has black color on #AFE772 background.
This text has white color on #AFE772 background.