HEX: #9EB479
RGB: (158,180,121)
#9EB479 contains red, green and blue colors in about the same proportion. Web safe color of #9EB479 is #99CC66 (or #9C6).
#9EB479 color RGB value is (158,180,121).
RGB: (158,180,121) (62%,71%,47%)
R 158 of 255 = 62%
G 180 of 255 = 71%
B 121 of 255 = 47%
R + G + B ~ 60%. #9EB479 is middle color (not dark and not light).
R + G + B =
158 + 180 + 121 = 459 (100%)
R 158 of 459 ~ 34.42%
G 180 of 459 ~ 39.22%
B 121 of 459 ~ 26.36%
#9EB479 color CMYK value is (12,0,33,29).
CMYK: (12,0,33,29) C12M0Y33K29 (12%,0%,33%,29%) (0.12/0.00/0.33/0.29)
9E | B4 | 79 | |
---|---|---|---|
RGB | 158 | 180 | 121 |
HSL | 82° | 28.23% | 59.02% |
HSB/HSV | 82° | 32.78% | 70.59% |
CMYK | 12.22% | 0.00% | 32.78% |
29.41% |
HEX | 9E | B4 | 79 |
Decimal | 158 | 180 | 121 |
Binary | 10011110 | 10110100 | 1111001 |
Octal | 236 | 264 | 171 |
Examples of css and html codes for elements with #9EB479 color. Also use rgb(158,180,121) instead hex code.
.myTextColor { color: #9EB479; }
<p style="color:#9EB479">This sample text font color is #9EB479.</p>
This text font color is #9EB479.
.myBgColor { background-color: #9EB479; }
<div style="background-color:#9EB479">Inner text</div>
This div background color is #9EB479.
.myBorderColor { border: 1px solid #9EB479; }
<div style="border:3px solid #9EB479">Div</div>
This div border color is #9EB479.
.myOpacity80 { color: #9EB479; opacity: 0.8; }
<p style="color:#9EB479;opacity:0.8;">80%</p>
Text with #9EB479 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9EB479;}
<p style="text-shadow: 3px 3px 1px #9EB479">Text here.</p>
This text has shadow with #9EB479 color.
.textShadow {text-shadow: 3px 3px 1px #9EB479, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9EB479, 5px 5px 20px red">Text here.</p>
This text has shadow with #9EB479 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9EB479, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9EB479, Direction=45, Strength=4)">Text</p>
This text has shadow with #9EB479 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9EB479; -webkit-box-shadow: 1px 1px 3px 2px #9EB479; box-shadow: 1px 1px 3px 2px #9EB479; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9EB479; -webkit-box-shadow: 1px 1px 3px 2px #9EB479; box-shadow:1px 1px 3px 2px #9EB479;">
Div content here</div>
This text has color #9EB479 on black background.
This text has color #9EB479 on white background.
This text has black color on #9EB479 background.
This text has white color on #9EB479 background.