HEX: #AFC788
RGB: (175,199,136)
#AFC788 contains mainly red and green colors. Web safe color of #AFC788 is #99CC99 (or #9C9).
#AFC788 color RGB value is (175,199,136).
RGB: (175,199,136) (69%,78%,53%)
R 175 of 255 = 69%
G 199 of 255 = 78%
B 136 of 255 = 53%
R + G + B ~ 67%. #AFC788 is quite light color.
R + G + B =
175 + 199 + 136 = 510 (100%)
R 175 of 510 ~ 34.31%
G 199 of 510 ~ 39.02%
B 136 of 510 ~ 26.67%
#AFC788 color CMYK value is (12,0,32,22).
CMYK: (12,0,32,22) C12M0Y32K22 (12%,0%,32%,22%) (0.12/0.00/0.32/0.22)
AF | C7 | 88 | |
---|---|---|---|
RGB | 175 | 199 | 136 |
HSL | 83° | 36.00% | 65.69% |
HSB/HSV | 83° | 31.66% | 78.04% |
CMYK | 12.06% | 0.00% | 31.66% |
21.96% |
HEX | AF | C7 | 88 |
Decimal | 175 | 199 | 136 |
Binary | 10101111 | 11000111 | 10001000 |
Octal | 257 | 307 | 210 |
Examples of css and html codes for elements with #AFC788 color. Also use rgb(175,199,136) instead hex code.
.myTextColor { color: #AFC788; }
<p style="color:#AFC788">This sample text font color is #AFC788.</p>
This text font color is #AFC788.
.myBgColor { background-color: #AFC788; }
<div style="background-color:#AFC788">Inner text</div>
This div background color is #AFC788.
.myBorderColor { border: 1px solid #AFC788; }
<div style="border:3px solid #AFC788">Div</div>
This div border color is #AFC788.
.myOpacity80 { color: #AFC788; opacity: 0.8; }
<p style="color:#AFC788;opacity:0.8;">80%</p>
Text with #AFC788 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFC788;}
<p style="text-shadow: 3px 3px 1px #AFC788">Text here.</p>
This text has shadow with #AFC788 color.
.textShadow {text-shadow: 3px 3px 1px #AFC788, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFC788, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFC788 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFC788, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFC788, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFC788 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFC788; -webkit-box-shadow: 1px 1px 3px 2px #AFC788; box-shadow: 1px 1px 3px 2px #AFC788; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFC788; -webkit-box-shadow: 1px 1px 3px 2px #AFC788; box-shadow:1px 1px 3px 2px #AFC788;">
Div content here</div>
This text has color #AFC788 on black background.
This text has color #AFC788 on white background.
This text has black color on #AFC788 background.
This text has white color on #AFC788 background.