HEX: #97797D
RGB: (151,121,125)
#97797D contains red, green and blue colors in about the same proportion. Web safe color of #97797D is #996666 (or #966).
#97797D color RGB value is (151,121,125).
RGB: (151,121,125) (59%,47%,49%)
R 151 of 255 = 59%
G 121 of 255 = 47%
B 125 of 255 = 49%
R + G + B ~ 52%. #97797D is middle color (not dark and not light).
R + G + B =
151 + 121 + 125 = 397 (100%)
R 151 of 397 ~ 38.04%
G 121 of 397 ~ 30.48%
B 125 of 397 ~ 31.49%
#97797D color CMYK value is (0,20,17,41).
CMYK: (0,20,17,41) C0M20Y17K41 (0%,20%,17%,41%) (0.00/0.20/0.17/0.41)
97 | 79 | 7D | |
---|---|---|---|
RGB | 151 | 121 | 125 |
HSL | 352° | 12.61% | 53.33% |
HSB/HSV | 352° | 19.87% | 59.22% |
CMYK | 0.00% | 19.87% | 17.22% |
40.78% |
HEX | 97 | 79 | 7D |
Decimal | 151 | 121 | 125 |
Binary | 10010111 | 1111001 | 1111101 |
Octal | 227 | 171 | 175 |
Examples of css and html codes for elements with #97797D color. Also use rgb(151,121,125) instead hex code.
.myTextColor { color: #97797D; }
<p style="color:#97797D">This sample text font color is #97797D.</p>
This text font color is #97797D.
.myBgColor { background-color: #97797D; }
<div style="background-color:#97797D">Inner text</div>
This div background color is #97797D.
.myBorderColor { border: 1px solid #97797D; }
<div style="border:3px solid #97797D">Div</div>
This div border color is #97797D.
.myOpacity80 { color: #97797D; opacity: 0.8; }
<p style="color:#97797D;opacity:0.8;">80%</p>
Text with #97797D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #97797D;}
<p style="text-shadow: 3px 3px 1px #97797D">Text here.</p>
This text has shadow with #97797D color.
.textShadow {text-shadow: 3px 3px 1px #97797D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #97797D, 5px 5px 20px red">Text here.</p>
This text has shadow with #97797D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#97797D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#97797D, Direction=45, Strength=4)">Text</p>
This text has shadow with #97797D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #97797D; -webkit-box-shadow: 1px 1px 3px 2px #97797D; box-shadow: 1px 1px 3px 2px #97797D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #97797D; -webkit-box-shadow: 1px 1px 3px 2px #97797D; box-shadow:1px 1px 3px 2px #97797D;">
Div content here</div>
This text has color #97797D on black background.
This text has color #97797D on white background.
This text has black color on #97797D background.
This text has white color on #97797D background.