HEX: #76794F
RGB: (118,121,79)
#76794F contains red, green and blue colors in about the same proportion. Web safe color of #76794F is #666666 (or #666).
#76794F color RGB value is (118,121,79).
RGB: (118,121,79) (46%,47%,31%)
R 118 of 255 = 46%
G 121 of 255 = 47%
B 79 of 255 = 31%
R + G + B ~ 41%. #76794F is middle color (not dark and not light).
R + G + B =
118 + 121 + 79 = 318 (100%)
R 118 of 318 ~ 37.11%
G 121 of 318 ~ 38.05%
B 79 of 318 ~ 24.84%
#76794F color CMYK value is (2,0,35,53).
CMYK: (2,0,35,53) C2M0Y35K53 (2%,0%,35%,53%) (0.02/0.00/0.35/0.53)
76 | 79 | 4F | |
---|---|---|---|
RGB | 118 | 121 | 79 |
HSL | 64° | 21.00% | 39.22% |
HSB/HSV | 64° | 34.71% | 47.45% |
CMYK | 2.48% | 0.00% | 34.71% |
52.55% |
HEX | 76 | 79 | 4F |
Decimal | 118 | 121 | 79 |
Binary | 1110110 | 1111001 | 1001111 |
Octal | 166 | 171 | 117 |
Examples of css and html codes for elements with #76794F color. Also use rgb(118,121,79) instead hex code.
.myTextColor { color: #76794F; }
<p style="color:#76794F">This sample text font color is #76794F.</p>
This text font color is #76794F.
.myBgColor { background-color: #76794F; }
<div style="background-color:#76794F">Inner text</div>
This div background color is #76794F.
.myBorderColor { border: 1px solid #76794F; }
<div style="border:3px solid #76794F">Div</div>
This div border color is #76794F.
.myOpacity80 { color: #76794F; opacity: 0.8; }
<p style="color:#76794F;opacity:0.8;">80%</p>
Text with #76794F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #76794F;}
<p style="text-shadow: 3px 3px 1px #76794F">Text here.</p>
This text has shadow with #76794F color.
.textShadow {text-shadow: 3px 3px 1px #76794F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #76794F, 5px 5px 20px red">Text here.</p>
This text has shadow with #76794F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#76794F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#76794F, Direction=45, Strength=4)">Text</p>
This text has shadow with #76794F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #76794F; -webkit-box-shadow: 1px 1px 3px 2px #76794F; box-shadow: 1px 1px 3px 2px #76794F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #76794F; -webkit-box-shadow: 1px 1px 3px 2px #76794F; box-shadow:1px 1px 3px 2px #76794F;">
Div content here</div>
This text has color #76794F on black background.
This text has color #76794F on white background.
This text has black color on #76794F background.
This text has white color on #76794F background.