HEX: #2ECC89
RGB: (46,204,137)
#2ECC89 contains mainly green color. Web safe color of #2ECC89 is #33CC99 (or #3C9).
#2ECC89 color RGB value is (46,204,137).
RGB: (46,204,137) (18%,80%,54%)
R 46 of 255 = 18%
G 204 of 255 = 80%
B 137 of 255 = 54%
R + G + B ~ 51%. #2ECC89 is middle color (not dark and not light).
R + G + B =
46 + 204 + 137 = 387 (100%)
R 46 of 387 ~ 11.89%
G 204 of 387 ~ 52.71%
B 137 of 387 ~ 35.4%
#2ECC89 color CMYK value is (77,0,33,20).
CMYK: (77,0,33,20) C77M0Y33K20 (77%,0%,33%,20%) (0.77/0.00/0.33/0.20)
2E | CC | 89 | |
---|---|---|---|
RGB | 46 | 204 | 137 |
HSL | 155° | 63.20% | 49.02% |
HSB/HSV | 155° | 77.45% | 80.00% |
CMYK | 77.45% | 0.00% | 32.84% |
20.00% |
HEX | 2E | CC | 89 |
Decimal | 46 | 204 | 137 |
Binary | 101110 | 11001100 | 10001001 |
Octal | 56 | 314 | 211 |
Examples of css and html codes for elements with #2ECC89 color. Also use rgb(46,204,137) instead hex code.
.myTextColor { color: #2ECC89; }
<p style="color:#2ECC89">This sample text font color is #2ECC89.</p>
This text font color is #2ECC89.
.myBgColor { background-color: #2ECC89; }
<div style="background-color:#2ECC89">Inner text</div>
This div background color is #2ECC89.
.myBorderColor { border: 1px solid #2ECC89; }
<div style="border:3px solid #2ECC89">Div</div>
This div border color is #2ECC89.
.myOpacity80 { color: #2ECC89; opacity: 0.8; }
<p style="color:#2ECC89;opacity:0.8;">80%</p>
Text with #2ECC89 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2ECC89;}
<p style="text-shadow: 3px 3px 1px #2ECC89">Text here.</p>
This text has shadow with #2ECC89 color.
.textShadow {text-shadow: 3px 3px 1px #2ECC89, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2ECC89, 5px 5px 20px red">Text here.</p>
This text has shadow with #2ECC89 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2ECC89, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2ECC89, Direction=45, Strength=4)">Text</p>
This text has shadow with #2ECC89 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2ECC89; -webkit-box-shadow: 1px 1px 3px 2px #2ECC89; box-shadow: 1px 1px 3px 2px #2ECC89; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2ECC89; -webkit-box-shadow: 1px 1px 3px 2px #2ECC89; box-shadow:1px 1px 3px 2px #2ECC89;">
Div content here</div>
This text has color #2ECC89 on black background.
This text has color #2ECC89 on white background.
This text has black color on #2ECC89 background.
This text has white color on #2ECC89 background.