HEX: #96997D
RGB: (150,153,125)
#96997D contains red, green and blue colors in about the same proportion. Web safe color of #96997D is #999966 (or #996).
#96997D color RGB value is (150,153,125).
RGB: (150,153,125) (59%,60%,49%)
R 150 of 255 = 59%
G 153 of 255 = 60%
B 125 of 255 = 49%
R + G + B ~ 56%. #96997D is middle color (not dark and not light).
R + G + B =
150 + 153 + 125 = 428 (100%)
R 150 of 428 ~ 35.05%
G 153 of 428 ~ 35.75%
B 125 of 428 ~ 29.21%
#96997D color CMYK value is (2,0,18,40).
CMYK: (2,0,18,40) C2M0Y18K40 (2%,0%,18%,40%) (0.02/0.00/0.18/0.40)
96 | 99 | 7D | |
---|---|---|---|
RGB | 150 | 153 | 125 |
HSL | 66° | 12.07% | 54.51% |
HSB/HSV | 66° | 18.30% | 60.00% |
CMYK | 1.96% | 0.00% | 18.30% |
40.00% |
HEX | 96 | 99 | 7D |
Decimal | 150 | 153 | 125 |
Binary | 10010110 | 10011001 | 1111101 |
Octal | 226 | 231 | 175 |
Examples of css and html codes for elements with #96997D color. Also use rgb(150,153,125) instead hex code.
.myTextColor { color: #96997D; }
<p style="color:#96997D">This sample text font color is #96997D.</p>
This text font color is #96997D.
.myBgColor { background-color: #96997D; }
<div style="background-color:#96997D">Inner text</div>
This div background color is #96997D.
.myBorderColor { border: 1px solid #96997D; }
<div style="border:3px solid #96997D">Div</div>
This div border color is #96997D.
.myOpacity80 { color: #96997D; opacity: 0.8; }
<p style="color:#96997D;opacity:0.8;">80%</p>
Text with #96997D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #96997D;}
<p style="text-shadow: 3px 3px 1px #96997D">Text here.</p>
This text has shadow with #96997D color.
.textShadow {text-shadow: 3px 3px 1px #96997D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #96997D, 5px 5px 20px red">Text here.</p>
This text has shadow with #96997D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#96997D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#96997D, Direction=45, Strength=4)">Text</p>
This text has shadow with #96997D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #96997D; -webkit-box-shadow: 1px 1px 3px 2px #96997D; box-shadow: 1px 1px 3px 2px #96997D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #96997D; -webkit-box-shadow: 1px 1px 3px 2px #96997D; box-shadow:1px 1px 3px 2px #96997D;">
Div content here</div>
This text has color #96997D on black background.
This text has color #96997D on white background.
This text has black color on #96997D background.
This text has white color on #96997D background.