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