HEX: #7B997E
RGB: (123,153,126)
#7B997E contains red, green and blue colors in about the same proportion. Web safe color of #7B997E is #669966 (or #696).
#7B997E color RGB value is (123,153,126).
RGB: (123,153,126) (48%,60%,49%)
R 123 of 255 = 48%
G 153 of 255 = 60%
B 126 of 255 = 49%
R + G + B ~ 52%. #7B997E is middle color (not dark and not light).
R + G + B =
123 + 153 + 126 = 402 (100%)
R 123 of 402 ~ 30.6%
G 153 of 402 ~ 38.06%
B 126 of 402 ~ 31.34%
#7B997E color CMYK value is (20,0,18,40).
CMYK: (20,0,18,40) C20M0Y18K40 (20%,0%,18%,40%) (0.20/0.00/0.18/0.40)
7B | 99 | 7E | |
---|---|---|---|
RGB | 123 | 153 | 126 |
HSL | 126° | 12.82% | 54.12% |
HSB/HSV | 126° | 19.61% | 60.00% |
CMYK | 19.61% | 0.00% | 17.65% |
40.00% |
HEX | 7B | 99 | 7E |
Decimal | 123 | 153 | 126 |
Binary | 1111011 | 10011001 | 1111110 |
Octal | 173 | 231 | 176 |
Examples of css and html codes for elements with #7B997E color. Also use rgb(123,153,126) instead hex code.
.myTextColor { color: #7B997E; }
<p style="color:#7B997E">This sample text font color is #7B997E.</p>
This text font color is #7B997E.
.myBgColor { background-color: #7B997E; }
<div style="background-color:#7B997E">Inner text</div>
This div background color is #7B997E.
.myBorderColor { border: 1px solid #7B997E; }
<div style="border:3px solid #7B997E">Div</div>
This div border color is #7B997E.
.myOpacity80 { color: #7B997E; opacity: 0.8; }
<p style="color:#7B997E;opacity:0.8;">80%</p>
Text with #7B997E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B997E;}
<p style="text-shadow: 3px 3px 1px #7B997E">Text here.</p>
This text has shadow with #7B997E color.
.textShadow {text-shadow: 3px 3px 1px #7B997E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B997E, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B997E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B997E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B997E, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B997E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B997E; -webkit-box-shadow: 1px 1px 3px 2px #7B997E; box-shadow: 1px 1px 3px 2px #7B997E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B997E; -webkit-box-shadow: 1px 1px 3px 2px #7B997E; box-shadow:1px 1px 3px 2px #7B997E;">
Div content here</div>
This text has color #7B997E on black background.
This text has color #7B997E on white background.
This text has black color on #7B997E background.
This text has white color on #7B997E background.