HEX: #AFBC1E
RGB: (175,188,30)
#AFBC1E contains mainly red and green colors. Web safe color of #AFBC1E is #99CC33 (or #9C3).
#AFBC1E color RGB value is (175,188,30).
RGB: (175,188,30) (69%,74%,12%)
R 175 of 255 = 69%
G 188 of 255 = 74%
B 30 of 255 = 12%
R + G + B ~ 52%. #AFBC1E is middle color (not dark and not light).
R + G + B =
175 + 188 + 30 = 393 (100%)
R 175 of 393 ~ 44.53%
G 188 of 393 ~ 47.84%
B 30 of 393 ~ 7.63%
#AFBC1E color CMYK value is (7,0,84,26).
CMYK: (7,0,84,26) C7M0Y84K26 (7%,0%,84%,26%) (0.07/0.00/0.84/0.26)
AF | BC | 1E | |
---|---|---|---|
RGB | 175 | 188 | 30 |
HSL | 65° | 72.48% | 42.75% |
HSB/HSV | 65° | 84.04% | 73.73% |
CMYK | 6.91% | 0.00% | 84.04% |
26.27% |
HEX | AF | BC | 1E |
Decimal | 175 | 188 | 30 |
Binary | 10101111 | 10111100 | 11110 |
Octal | 257 | 274 | 36 |
Examples of css and html codes for elements with #AFBC1E color. Also use rgb(175,188,30) instead hex code.
.myTextColor { color: #AFBC1E; }
<p style="color:#AFBC1E">This sample text font color is #AFBC1E.</p>
This text font color is #AFBC1E.
.myBgColor { background-color: #AFBC1E; }
<div style="background-color:#AFBC1E">Inner text</div>
This div background color is #AFBC1E.
.myBorderColor { border: 1px solid #AFBC1E; }
<div style="border:3px solid #AFBC1E">Div</div>
This div border color is #AFBC1E.
.myOpacity80 { color: #AFBC1E; opacity: 0.8; }
<p style="color:#AFBC1E;opacity:0.8;">80%</p>
Text with #AFBC1E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AFBC1E;}
<p style="text-shadow: 3px 3px 1px #AFBC1E">Text here.</p>
This text has shadow with #AFBC1E color.
.textShadow {text-shadow: 3px 3px 1px #AFBC1E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AFBC1E, 5px 5px 20px red">Text here.</p>
This text has shadow with #AFBC1E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AFBC1E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AFBC1E, Direction=45, Strength=4)">Text</p>
This text has shadow with #AFBC1E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AFBC1E; -webkit-box-shadow: 1px 1px 3px 2px #AFBC1E; box-shadow: 1px 1px 3px 2px #AFBC1E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AFBC1E; -webkit-box-shadow: 1px 1px 3px 2px #AFBC1E; box-shadow:1px 1px 3px 2px #AFBC1E;">
Div content here</div>
This text has color #AFBC1E on black background.
This text has color #AFBC1E on white background.
This text has black color on #AFBC1E background.
This text has white color on #AFBC1E background.