HEX: #8AC57D
RGB: (138,197,125)
#8AC57D contains mainly red and green colors. Web safe color of #8AC57D is #99CC66 (or #9C6).
#8AC57D color RGB value is (138,197,125).
RGB: (138,197,125) (54%,77%,49%)
R 138 of 255 = 54%
G 197 of 255 = 77%
B 125 of 255 = 49%
R + G + B ~ 60%. #8AC57D is middle color (not dark and not light).
R + G + B =
138 + 197 + 125 = 460 (100%)
R 138 of 460 ~ 30%
G 197 of 460 ~ 42.83%
B 125 of 460 ~ 27.17%
#8AC57D color CMYK value is (30,0,37,23).
CMYK: (30,0,37,23) C30M0Y37K23 (30%,0%,37%,23%) (0.30/0.00/0.37/0.23)
8A | C5 | 7D | |
---|---|---|---|
RGB | 138 | 197 | 125 |
HSL | 109° | 38.30% | 63.14% |
HSB/HSV | 109° | 36.55% | 77.25% |
CMYK | 29.95% | 0.00% | 36.55% |
22.75% |
HEX | 8A | C5 | 7D |
Decimal | 138 | 197 | 125 |
Binary | 10001010 | 11000101 | 1111101 |
Octal | 212 | 305 | 175 |
Examples of css and html codes for elements with #8AC57D color. Also use rgb(138,197,125) instead hex code.
.myTextColor { color: #8AC57D; }
<p style="color:#8AC57D">This sample text font color is #8AC57D.</p>
This text font color is #8AC57D.
.myBgColor { background-color: #8AC57D; }
<div style="background-color:#8AC57D">Inner text</div>
This div background color is #8AC57D.
.myBorderColor { border: 1px solid #8AC57D; }
<div style="border:3px solid #8AC57D">Div</div>
This div border color is #8AC57D.
.myOpacity80 { color: #8AC57D; opacity: 0.8; }
<p style="color:#8AC57D;opacity:0.8;">80%</p>
Text with #8AC57D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8AC57D;}
<p style="text-shadow: 3px 3px 1px #8AC57D">Text here.</p>
This text has shadow with #8AC57D color.
.textShadow {text-shadow: 3px 3px 1px #8AC57D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8AC57D, 5px 5px 20px red">Text here.</p>
This text has shadow with #8AC57D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8AC57D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8AC57D, Direction=45, Strength=4)">Text</p>
This text has shadow with #8AC57D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8AC57D; -webkit-box-shadow: 1px 1px 3px 2px #8AC57D; box-shadow: 1px 1px 3px 2px #8AC57D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8AC57D; -webkit-box-shadow: 1px 1px 3px 2px #8AC57D; box-shadow:1px 1px 3px 2px #8AC57D;">
Div content here</div>
This text has color #8AC57D on black background.
This text has color #8AC57D on white background.
This text has black color on #8AC57D background.
This text has white color on #8AC57D background.