HEX: #2EA478
RGB: (46,164,120)
#2EA478 contains mainly green and blue colors. Web safe color of #2EA478 is #339966 (or #396).
#2EA478 color RGB value is (46,164,120).
RGB: (46,164,120) (18%,64%,47%)
R 46 of 255 = 18%
G 164 of 255 = 64%
B 120 of 255 = 47%
R + G + B ~ 43%. #2EA478 is middle color (not dark and not light).
R + G + B =
46 + 164 + 120 = 330 (100%)
R 46 of 330 ~ 13.94%
G 164 of 330 ~ 49.7%
B 120 of 330 ~ 36.36%
#2EA478 color CMYK value is (72,0,27,36).
CMYK: (72,0,27,36) C72M0Y27K36 (72%,0%,27%,36%) (0.72/0.00/0.27/0.36)
2E | A4 | 78 | |
---|---|---|---|
RGB | 46 | 164 | 120 |
HSL | 158° | 56.19% | 41.18% |
HSB/HSV | 158° | 71.95% | 64.31% |
CMYK | 71.95% | 0.00% | 26.83% |
35.69% |
HEX | 2E | A4 | 78 |
Decimal | 46 | 164 | 120 |
Binary | 101110 | 10100100 | 1111000 |
Octal | 56 | 244 | 170 |
Examples of css and html codes for elements with #2EA478 color. Also use rgb(46,164,120) instead hex code.
.myTextColor { color: #2EA478; }
<p style="color:#2EA478">This sample text font color is #2EA478.</p>
This text font color is #2EA478.
.myBgColor { background-color: #2EA478; }
<div style="background-color:#2EA478">Inner text</div>
This div background color is #2EA478.
.myBorderColor { border: 1px solid #2EA478; }
<div style="border:3px solid #2EA478">Div</div>
This div border color is #2EA478.
.myOpacity80 { color: #2EA478; opacity: 0.8; }
<p style="color:#2EA478;opacity:0.8;">80%</p>
Text with #2EA478 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #2EA478;}
<p style="text-shadow: 3px 3px 1px #2EA478">Text here.</p>
This text has shadow with #2EA478 color.
.textShadow {text-shadow: 3px 3px 1px #2EA478, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #2EA478, 5px 5px 20px red">Text here.</p>
This text has shadow with #2EA478 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#2EA478, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#2EA478, Direction=45, Strength=4)">Text</p>
This text has shadow with #2EA478 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #2EA478; -webkit-box-shadow: 1px 1px 3px 2px #2EA478; box-shadow: 1px 1px 3px 2px #2EA478; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #2EA478; -webkit-box-shadow: 1px 1px 3px 2px #2EA478; box-shadow:1px 1px 3px 2px #2EA478;">
Div content here</div>
This text has color #2EA478 on black background.
This text has color #2EA478 on white background.
This text has black color on #2EA478 background.
This text has white color on #2EA478 background.