HEX: #AFC480
RGB: (175,196,128)
#AFC480 contains mainly red and green colors. Web safe color of #AFC480 is #99CC66 (or #9C6).
#AFC480 color RGB value is (175,196,128).
RGB: (175,196,128) (69%,77%,50%)
R 175 of 255 = 69%
G 196 of 255 = 77%
B 128 of 255 = 50%
R + G + B ~ 65%. #AFC480 is quite light color.
R + G + B =
175 + 196 + 128 = 499 (100%)
R 175 of 499 ~ 35.07%
G 196 of 499 ~ 39.28%
B 128 of 499 ~ 25.65%
#AFC480 color CMYK value is (11,0,35,23).
CMYK: (11,0,35,23) C11M0Y35K23 (11%,0%,35%,23%) (0.11/0.00/0.35/0.23)
AF | C4 | 80 | |
---|---|---|---|
RGB | 175 | 196 | 128 |
HSL | 79° | 36.56% | 63.53% |
HSB/HSV | 79° | 34.69% | 76.86% |
CMYK | 10.71% | 0.00% | 34.69% |
23.14% |
HEX | AF | C4 | 80 |
Decimal | 175 | 196 | 128 |
Binary | 10101111 | 11000100 | 10000000 |
Octal | 257 | 304 | 200 |
Examples of css and html codes for elements with #AFC480 color. Also use rgb(175,196,128) instead hex code.
.myTextColor { color: #AFC480; }
<p style="color:#AFC480">This sample text font color is #AFC480.</p>
This text font color is #AFC480.
.myBgColor { background-color: #AFC480; }
<div style="background-color:#AFC480">Inner text</div>
This div background color is #AFC480.
.myBorderColor { border: 1px solid #AFC480; }
<div style="border:3px solid #AFC480">Div</div>
This div border color is #AFC480.
.myOpacity80 { color: #AFC480; opacity: 0.8; }
<p style="color:#AFC480;opacity:0.8;">80%</p>
Text with #AFC480 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFC480;}
<p style="text-shadow: 3px 3px 1px #AFC480">Text here.</p>
This text has shadow with #AFC480 color.
.textShadow {text-shadow: 3px 3px 1px #AFC480, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFC480, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFC480 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFC480, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFC480, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFC480 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFC480; -webkit-box-shadow: 1px 1px 3px 2px #AFC480; box-shadow: 1px 1px 3px 2px #AFC480; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFC480; -webkit-box-shadow: 1px 1px 3px 2px #AFC480; box-shadow:1px 1px 3px 2px #AFC480;">
Div content here</div>
This text has color #AFC480 on black background.
This text has color #AFC480 on white background.
This text has black color on #AFC480 background.
This text has white color on #AFC480 background.