HEX: #AFC97A
RGB: (175,201,122)
#AFC97A contains mainly red and green colors. Web safe color of #AFC97A is #99CC66 (or #9C6).
#AFC97A color RGB value is (175,201,122).
RGB: (175,201,122) (69%,79%,48%)
R 175 of 255 = 69%
G 201 of 255 = 79%
B 122 of 255 = 48%
R + G + B ~ 65%. #AFC97A is quite light color.
R + G + B =
175 + 201 + 122 = 498 (100%)
R 175 of 498 ~ 35.14%
G 201 of 498 ~ 40.36%
B 122 of 498 ~ 24.5%
#AFC97A color CMYK value is (13,0,39,21).
CMYK: (13,0,39,21) C13M0Y39K21 (13%,0%,39%,21%) (0.13/0.00/0.39/0.21)
AF | C9 | 7A | |
---|---|---|---|
RGB | 175 | 201 | 122 |
HSL | 80° | 42.25% | 63.33% |
HSB/HSV | 80° | 39.30% | 78.82% |
CMYK | 12.94% | 0.00% | 39.30% |
21.18% |
HEX | AF | C9 | 7A |
Decimal | 175 | 201 | 122 |
Binary | 10101111 | 11001001 | 1111010 |
Octal | 257 | 311 | 172 |
Examples of css and html codes for elements with #AFC97A color. Also use rgb(175,201,122) instead hex code.
.myTextColor { color: #AFC97A; }
<p style="color:#AFC97A">This sample text font color is #AFC97A.</p>
This text font color is #AFC97A.
.myBgColor { background-color: #AFC97A; }
<div style="background-color:#AFC97A">Inner text</div>
This div background color is #AFC97A.
.myBorderColor { border: 1px solid #AFC97A; }
<div style="border:3px solid #AFC97A">Div</div>
This div border color is #AFC97A.
.myOpacity80 { color: #AFC97A; opacity: 0.8; }
<p style="color:#AFC97A;opacity:0.8;">80%</p>
Text with #AFC97A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFC97A;}
<p style="text-shadow: 3px 3px 1px #AFC97A">Text here.</p>
This text has shadow with #AFC97A color.
.textShadow {text-shadow: 3px 3px 1px #AFC97A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFC97A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFC97A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFC97A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFC97A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFC97A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFC97A; -webkit-box-shadow: 1px 1px 3px 2px #AFC97A; box-shadow: 1px 1px 3px 2px #AFC97A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFC97A; -webkit-box-shadow: 1px 1px 3px 2px #AFC97A; box-shadow:1px 1px 3px 2px #AFC97A;">
Div content here</div>
This text has color #AFC97A on black background.
This text has color #AFC97A on white background.
This text has black color on #AFC97A background.
This text has white color on #AFC97A background.