HEX: #9EB740
RGB: (158,183,64)
#9EB740 contains mainly red and green colors. Web safe color of #9EB740 is #99CC33 (or #9C3).
#9EB740 color RGB value is (158,183,64).
RGB: (158,183,64) (62%,72%,25%)
R 158 of 255 = 62%
G 183 of 255 = 72%
B 64 of 255 = 25%
R + G + B ~ 53%. #9EB740 is middle color (not dark and not light).
R + G + B =
158 + 183 + 64 = 405 (100%)
R 158 of 405 ~ 39.01%
G 183 of 405 ~ 45.19%
B 64 of 405 ~ 15.8%
#9EB740 color CMYK value is (14,0,65,28).
CMYK: (14,0,65,28) C14M0Y65K28 (14%,0%,65%,28%) (0.14/0.00/0.65/0.28)
9E | B7 | 40 | |
---|---|---|---|
RGB | 158 | 183 | 64 |
HSL | 73° | 48.18% | 48.43% |
HSB/HSV | 73° | 65.03% | 71.76% |
CMYK | 13.66% | 0.00% | 65.03% |
28.24% |
HEX | 9E | B7 | 40 |
Decimal | 158 | 183 | 64 |
Binary | 10011110 | 10110111 | 1000000 |
Octal | 236 | 267 | 100 |
Examples of css and html codes for elements with #9EB740 color. Also use rgb(158,183,64) instead hex code.
.myTextColor { color: #9EB740; }
<p style="color:#9EB740">This sample text font color is #9EB740.</p>
This text font color is #9EB740.
.myBgColor { background-color: #9EB740; }
<div style="background-color:#9EB740">Inner text</div>
This div background color is #9EB740.
.myBorderColor { border: 1px solid #9EB740; }
<div style="border:3px solid #9EB740">Div</div>
This div border color is #9EB740.
.myOpacity80 { color: #9EB740; opacity: 0.8; }
<p style="color:#9EB740;opacity:0.8;">80%</p>
Text with #9EB740 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9EB740;}
<p style="text-shadow: 3px 3px 1px #9EB740">Text here.</p>
This text has shadow with #9EB740 color.
.textShadow {text-shadow: 3px 3px 1px #9EB740, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9EB740, 5px 5px 20px red">Text here.</p>
This text has shadow with #9EB740 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9EB740, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9EB740, Direction=45, Strength=4)">Text</p>
This text has shadow with #9EB740 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9EB740; -webkit-box-shadow: 1px 1px 3px 2px #9EB740; box-shadow: 1px 1px 3px 2px #9EB740; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9EB740; -webkit-box-shadow: 1px 1px 3px 2px #9EB740; box-shadow:1px 1px 3px 2px #9EB740;">
Div content here</div>
This text has color #9EB740 on black background.
This text has color #9EB740 on white background.
This text has black color on #9EB740 background.
This text has white color on #9EB740 background.