HEX: #7B767E
RGB: (123,118,126)
#7B767E contains red, green and blue colors in about the same proportion. Web safe color of #7B767E is #666666 (or #666).
#7B767E color RGB value is (123,118,126).
RGB: (123,118,126) (48%,46%,49%)
R 123 of 255 = 48%
G 118 of 255 = 46%
B 126 of 255 = 49%
R + G + B ~ 48%. #7B767E is middle color (not dark and not light).
R + G + B =
123 + 118 + 126 = 367 (100%)
R 123 of 367 ~ 33.51%
G 118 of 367 ~ 32.15%
B 126 of 367 ~ 34.33%
#7B767E color CMYK value is (2,6,0,51).
CMYK: (2,6,0,51) C2M6Y0K51 (2%,6%,0%,51%) (0.02/0.06/0.00/0.51)
7B | 76 | 7E | |
---|---|---|---|
RGB | 123 | 118 | 126 |
HSL | 278° | 3.28% | 47.84% |
HSB/HSV | 278° | 6.35% | 49.41% |
CMYK | 2.38% | 6.35% | 0.00% |
50.59% |
HEX | 7B | 76 | 7E |
Decimal | 123 | 118 | 126 |
Binary | 1111011 | 1110110 | 1111110 |
Octal | 173 | 166 | 176 |
Examples of css and html codes for elements with #7B767E color. Also use rgb(123,118,126) instead hex code.
.myTextColor { color: #7B767E; }
<p style="color:#7B767E">This sample text font color is #7B767E.</p>
This text font color is #7B767E.
.myBgColor { background-color: #7B767E; }
<div style="background-color:#7B767E">Inner text</div>
This div background color is #7B767E.
.myBorderColor { border: 1px solid #7B767E; }
<div style="border:3px solid #7B767E">Div</div>
This div border color is #7B767E.
.myOpacity80 { color: #7B767E; opacity: 0.8; }
<p style="color:#7B767E;opacity:0.8;">80%</p>
Text with #7B767E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7B767E;}
<p style="text-shadow: 3px 3px 1px #7B767E">Text here.</p>
This text has shadow with #7B767E color.
.textShadow {text-shadow: 3px 3px 1px #7B767E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7B767E, 5px 5px 20px red">Text here.</p>
This text has shadow with #7B767E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7B767E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7B767E, Direction=45, Strength=4)">Text</p>
This text has shadow with #7B767E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7B767E; -webkit-box-shadow: 1px 1px 3px 2px #7B767E; box-shadow: 1px 1px 3px 2px #7B767E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7B767E; -webkit-box-shadow: 1px 1px 3px 2px #7B767E; box-shadow:1px 1px 3px 2px #7B767E;">
Div content here</div>
This text has color #7B767E on black background.
This text has color #7B767E on white background.
This text has black color on #7B767E background.
This text has white color on #7B767E background.