HEX: #AFCC5B
RGB: (175,204,91)
#AFCC5B contains mainly red and green colors. Web safe color of #AFCC5B is #99CC66 (or #9C6).
#AFCC5B color RGB value is (175,204,91).
RGB: (175,204,91) (69%,80%,36%)
R 175 of 255 = 69%
G 204 of 255 = 80%
B 91 of 255 = 36%
R + G + B ~ 62%. #AFCC5B is quite light color.
R + G + B =
175 + 204 + 91 = 470 (100%)
R 175 of 470 ~ 37.23%
G 204 of 470 ~ 43.4%
B 91 of 470 ~ 19.36%
#AFCC5B color CMYK value is (14,0,55,20).
CMYK: (14,0,55,20) C14M0Y55K20 (14%,0%,55%,20%) (0.14/0.00/0.55/0.20)
AF | CC | 5B | |
---|---|---|---|
RGB | 175 | 204 | 91 |
HSL | 75° | 52.56% | 57.84% |
HSB/HSV | 75° | 55.39% | 80.00% |
CMYK | 14.22% | 0.00% | 55.39% |
20.00% |
HEX | AF | CC | 5B |
Decimal | 175 | 204 | 91 |
Binary | 10101111 | 11001100 | 1011011 |
Octal | 257 | 314 | 133 |
Examples of css and html codes for elements with #AFCC5B color. Also use rgb(175,204,91) instead hex code.
.myTextColor { color: #AFCC5B; }
<p style="color:#AFCC5B">This sample text font color is #AFCC5B.</p>
This text font color is #AFCC5B.
.myBgColor { background-color: #AFCC5B; }
<div style="background-color:#AFCC5B">Inner text</div>
This div background color is #AFCC5B.
.myBorderColor { border: 1px solid #AFCC5B; }
<div style="border:3px solid #AFCC5B">Div</div>
This div border color is #AFCC5B.
.myOpacity80 { color: #AFCC5B; opacity: 0.8; }
<p style="color:#AFCC5B;opacity:0.8;">80%</p>
Text with #AFCC5B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFCC5B;}
<p style="text-shadow: 3px 3px 1px #AFCC5B">Text here.</p>
This text has shadow with #AFCC5B color.
.textShadow {text-shadow: 3px 3px 1px #AFCC5B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFCC5B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFCC5B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFCC5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFCC5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFCC5B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFCC5B; -webkit-box-shadow: 1px 1px 3px 2px #AFCC5B; box-shadow: 1px 1px 3px 2px #AFCC5B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFCC5B; -webkit-box-shadow: 1px 1px 3px 2px #AFCC5B; box-shadow:1px 1px 3px 2px #AFCC5B;">
Div content here</div>
This text has color #AFCC5B on black background.
This text has color #AFCC5B on white background.
This text has black color on #AFCC5B background.
This text has white color on #AFCC5B background.