HEX: #9EB975
RGB: (158,185,117)
#9EB975 contains mainly red and green colors. Web safe color of #9EB975 is #99CC66 (or #9C6).
#9EB975 color RGB value is (158,185,117).
RGB: (158,185,117) (62%,73%,46%)
R 158 of 255 = 62%
G 185 of 255 = 73%
B 117 of 255 = 46%
R + G + B ~ 60%. #9EB975 is middle color (not dark and not light).
R + G + B =
158 + 185 + 117 = 460 (100%)
R 158 of 460 ~ 34.35%
G 185 of 460 ~ 40.22%
B 117 of 460 ~ 25.43%
#9EB975 color CMYK value is (15,0,37,27).
CMYK: (15,0,37,27) C15M0Y37K27 (15%,0%,37%,27%) (0.15/0.00/0.37/0.27)
9E | B9 | 75 | |
---|---|---|---|
RGB | 158 | 185 | 117 |
HSL | 84° | 32.69% | 59.22% |
HSB/HSV | 84° | 36.76% | 72.55% |
CMYK | 14.59% | 0.00% | 36.76% |
27.45% |
HEX | 9E | B9 | 75 |
Decimal | 158 | 185 | 117 |
Binary | 10011110 | 10111001 | 1110101 |
Octal | 236 | 271 | 165 |
Examples of css and html codes for elements with #9EB975 color. Also use rgb(158,185,117) instead hex code.
.myTextColor { color: #9EB975; }
<p style="color:#9EB975">This sample text font color is #9EB975.</p>
This text font color is #9EB975.
.myBgColor { background-color: #9EB975; }
<div style="background-color:#9EB975">Inner text</div>
This div background color is #9EB975.
.myBorderColor { border: 1px solid #9EB975; }
<div style="border:3px solid #9EB975">Div</div>
This div border color is #9EB975.
.myOpacity80 { color: #9EB975; opacity: 0.8; }
<p style="color:#9EB975;opacity:0.8;">80%</p>
Text with #9EB975 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9EB975;}
<p style="text-shadow: 3px 3px 1px #9EB975">Text here.</p>
This text has shadow with #9EB975 color.
.textShadow {text-shadow: 3px 3px 1px #9EB975, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9EB975, 5px 5px 20px red">Text here.</p>
This text has shadow with #9EB975 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9EB975, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9EB975, Direction=45, Strength=4)">Text</p>
This text has shadow with #9EB975 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9EB975; -webkit-box-shadow: 1px 1px 3px 2px #9EB975; box-shadow: 1px 1px 3px 2px #9EB975; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9EB975; -webkit-box-shadow: 1px 1px 3px 2px #9EB975; box-shadow:1px 1px 3px 2px #9EB975;">
Div content here</div>
This text has color #9EB975 on black background.
This text has color #9EB975 on white background.
This text has black color on #9EB975 background.
This text has white color on #9EB975 background.