HEX: #AFC696
RGB: (175,198,150)
#AFC696 contains red, green and blue colors in about the same proportion. Web safe color of #AFC696 is #99CC99 (or #9C9).
#AFC696 color RGB value is (175,198,150).
RGB: (175,198,150) (69%,78%,59%)
R 175 of 255 = 69%
G 198 of 255 = 78%
B 150 of 255 = 59%
R + G + B ~ 69%. #AFC696 is quite light color.
R + G + B =
175 + 198 + 150 = 523 (100%)
R 175 of 523 ~ 33.46%
G 198 of 523 ~ 37.86%
B 150 of 523 ~ 28.68%
#AFC696 color CMYK value is (12,0,24,22).
CMYK: (12,0,24,22) C12M0Y24K22 (12%,0%,24%,22%) (0.12/0.00/0.24/0.22)
AF | C6 | 96 | |
---|---|---|---|
RGB | 175 | 198 | 150 |
HSL | 89° | 29.63% | 68.24% |
HSB/HSV | 89° | 24.24% | 77.65% |
CMYK | 11.62% | 0.00% | 24.24% |
22.35% |
HEX | AF | C6 | 96 |
Decimal | 175 | 198 | 150 |
Binary | 10101111 | 11000110 | 10010110 |
Octal | 257 | 306 | 226 |
Examples of css and html codes for elements with #AFC696 color. Also use rgb(175,198,150) instead hex code.
.myTextColor { color: #AFC696; }
<p style="color:#AFC696">This sample text font color is #AFC696.</p>
This text font color is #AFC696.
.myBgColor { background-color: #AFC696; }
<div style="background-color:#AFC696">Inner text</div>
This div background color is #AFC696.
.myBorderColor { border: 1px solid #AFC696; }
<div style="border:3px solid #AFC696">Div</div>
This div border color is #AFC696.
.myOpacity80 { color: #AFC696; opacity: 0.8; }
<p style="color:#AFC696;opacity:0.8;">80%</p>
Text with #AFC696 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFC696;}
<p style="text-shadow: 3px 3px 1px #AFC696">Text here.</p>
This text has shadow with #AFC696 color.
.textShadow {text-shadow: 3px 3px 1px #AFC696, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFC696, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFC696 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFC696, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFC696, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFC696 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFC696; -webkit-box-shadow: 1px 1px 3px 2px #AFC696; box-shadow: 1px 1px 3px 2px #AFC696; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFC696; -webkit-box-shadow: 1px 1px 3px 2px #AFC696; box-shadow:1px 1px 3px 2px #AFC696;">
Div content here</div>
This text has color #AFC696 on black background.
This text has color #AFC696 on white background.
This text has black color on #AFC696 background.
This text has white color on #AFC696 background.