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