HEX: #96B972
RGB: (150,185,114)
#96B972 contains mainly red and green colors. Web safe color of #96B972 is #99CC66 (or #9C6).
#96B972 color RGB value is (150,185,114).
RGB: (150,185,114) (59%,73%,45%)
R 150 of 255 = 59%
G 185 of 255 = 73%
B 114 of 255 = 45%
R + G + B ~ 59%. #96B972 is middle color (not dark and not light).
R + G + B =
150 + 185 + 114 = 449 (100%)
R 150 of 449 ~ 33.41%
G 185 of 449 ~ 41.2%
B 114 of 449 ~ 25.39%
#96B972 color CMYK value is (19,0,38,27).
CMYK: (19,0,38,27) C19M0Y38K27 (19%,0%,38%,27%) (0.19/0.00/0.38/0.27)
96 | B9 | 72 | |
---|---|---|---|
RGB | 150 | 185 | 114 |
HSL | 90° | 33.65% | 58.63% |
HSB/HSV | 90° | 38.38% | 72.55% |
CMYK | 18.92% | 0.00% | 38.38% |
27.45% |
HEX | 96 | B9 | 72 |
Decimal | 150 | 185 | 114 |
Binary | 10010110 | 10111001 | 1110010 |
Octal | 226 | 271 | 162 |
Examples of css and html codes for elements with #96B972 color. Also use rgb(150,185,114) instead hex code.
.myTextColor { color: #96B972; }
<p style="color:#96B972">This sample text font color is #96B972.</p>
This text font color is #96B972.
.myBgColor { background-color: #96B972; }
<div style="background-color:#96B972">Inner text</div>
This div background color is #96B972.
.myBorderColor { border: 1px solid #96B972; }
<div style="border:3px solid #96B972">Div</div>
This div border color is #96B972.
.myOpacity80 { color: #96B972; opacity: 0.8; }
<p style="color:#96B972;opacity:0.8;">80%</p>
Text with #96B972 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #96B972;}
<p style="text-shadow: 3px 3px 1px #96B972">Text here.</p>
This text has shadow with #96B972 color.
.textShadow {text-shadow: 3px 3px 1px #96B972, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #96B972, 5px 5px 20px red">Text here.</p>
This text has shadow with #96B972 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#96B972, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#96B972, Direction=45, Strength=4)">Text</p>
This text has shadow with #96B972 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #96B972; -webkit-box-shadow: 1px 1px 3px 2px #96B972; box-shadow: 1px 1px 3px 2px #96B972; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #96B972; -webkit-box-shadow: 1px 1px 3px 2px #96B972; box-shadow:1px 1px 3px 2px #96B972;">
Div content here</div>
This text has color #96B972 on black background.
This text has color #96B972 on white background.
This text has black color on #96B972 background.
This text has white color on #96B972 background.