HEX: #AFC397
RGB: (175,195,151)
#AFC397 contains red, green and blue colors in about the same proportion. Web safe color of #AFC397 is #99CC99 (or #9C9).
#AFC397 color RGB value is (175,195,151).
RGB: (175,195,151) (69%,76%,59%)
R 175 of 255 = 69%
G 195 of 255 = 76%
B 151 of 255 = 59%
R + G + B ~ 68%. #AFC397 is quite light color.
R + G + B =
175 + 195 + 151 = 521 (100%)
R 175 of 521 ~ 33.59%
G 195 of 521 ~ 37.43%
B 151 of 521 ~ 28.98%
#AFC397 color CMYK value is (10,0,23,24).
CMYK: (10,0,23,24) C10M0Y23K24 (10%,0%,23%,24%) (0.10/0.00/0.23/0.24)
AF | C3 | 97 | |
---|---|---|---|
RGB | 175 | 195 | 151 |
HSL | 87° | 26.83% | 67.84% |
HSB/HSV | 87° | 22.56% | 76.47% |
CMYK | 10.26% | 0.00% | 22.56% |
23.53% |
HEX | AF | C3 | 97 |
Decimal | 175 | 195 | 151 |
Binary | 10101111 | 11000011 | 10010111 |
Octal | 257 | 303 | 227 |
Examples of css and html codes for elements with #AFC397 color. Also use rgb(175,195,151) instead hex code.
.myTextColor { color: #AFC397; }
<p style="color:#AFC397">This sample text font color is #AFC397.</p>
This text font color is #AFC397.
.myBgColor { background-color: #AFC397; }
<div style="background-color:#AFC397">Inner text</div>
This div background color is #AFC397.
.myBorderColor { border: 1px solid #AFC397; }
<div style="border:3px solid #AFC397">Div</div>
This div border color is #AFC397.
.myOpacity80 { color: #AFC397; opacity: 0.8; }
<p style="color:#AFC397;opacity:0.8;">80%</p>
Text with #AFC397 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFC397;}
<p style="text-shadow: 3px 3px 1px #AFC397">Text here.</p>
This text has shadow with #AFC397 color.
.textShadow {text-shadow: 3px 3px 1px #AFC397, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFC397, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFC397 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFC397, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFC397, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFC397 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFC397; -webkit-box-shadow: 1px 1px 3px 2px #AFC397; box-shadow: 1px 1px 3px 2px #AFC397; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFC397; -webkit-box-shadow: 1px 1px 3px 2px #AFC397; box-shadow:1px 1px 3px 2px #AFC397;">
Div content here</div>
This text has color #AFC397 on black background.
This text has color #AFC397 on white background.
This text has black color on #AFC397 background.
This text has white color on #AFC397 background.