HEX: #9FB371
RGB: (159,179,113)
#9FB371 contains mainly red and green colors. Web safe color of #9FB371 is #999966 (or #996).
#9FB371 color RGB value is (159,179,113).
RGB: (159,179,113) (62%,70%,44%)
R 159 of 255 = 62%
G 179 of 255 = 70%
B 113 of 255 = 44%
R + G + B ~ 59%. #9FB371 is middle color (not dark and not light).
R + G + B =
159 + 179 + 113 = 451 (100%)
R 159 of 451 ~ 35.25%
G 179 of 451 ~ 39.69%
B 113 of 451 ~ 25.06%
#9FB371 color CMYK value is (11,0,37,30).
CMYK: (11,0,37,30) C11M0Y37K30 (11%,0%,37%,30%) (0.11/0.00/0.37/0.30)
9F | B3 | 71 | |
---|---|---|---|
RGB | 159 | 179 | 113 |
HSL | 78° | 30.28% | 57.25% |
HSB/HSV | 78° | 36.87% | 70.20% |
CMYK | 11.17% | 0.00% | 36.87% |
29.80% |
HEX | 9F | B3 | 71 |
Decimal | 159 | 179 | 113 |
Binary | 10011111 | 10110011 | 1110001 |
Octal | 237 | 263 | 161 |
Examples of css and html codes for elements with #9FB371 color. Also use rgb(159,179,113) instead hex code.
.myTextColor { color: #9FB371; }
<p style="color:#9FB371">This sample text font color is #9FB371.</p>
This text font color is #9FB371.
.myBgColor { background-color: #9FB371; }
<div style="background-color:#9FB371">Inner text</div>
This div background color is #9FB371.
.myBorderColor { border: 1px solid #9FB371; }
<div style="border:3px solid #9FB371">Div</div>
This div border color is #9FB371.
.myOpacity80 { color: #9FB371; opacity: 0.8; }
<p style="color:#9FB371;opacity:0.8;">80%</p>
Text with #9FB371 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9FB371;}
<p style="text-shadow: 3px 3px 1px #9FB371">Text here.</p>
This text has shadow with #9FB371 color.
.textShadow {text-shadow: 3px 3px 1px #9FB371, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9FB371, 5px 5px 20px red">Text here.</p>
This text has shadow with #9FB371 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9FB371, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9FB371, Direction=45, Strength=4)">Text</p>
This text has shadow with #9FB371 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9FB371; -webkit-box-shadow: 1px 1px 3px 2px #9FB371; box-shadow: 1px 1px 3px 2px #9FB371; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9FB371; -webkit-box-shadow: 1px 1px 3px 2px #9FB371; box-shadow:1px 1px 3px 2px #9FB371;">
Div content here</div>
This text has color #9FB371 on black background.
This text has color #9FB371 on white background.
This text has black color on #9FB371 background.
This text has white color on #9FB371 background.