HEX: #7D796C
RGB: (125,121,108)
#7D796C contains red, green and blue colors in about the same proportion. Web safe color of #7D796C is #666666 (or #666).
#7D796C color RGB value is (125,121,108).
RGB: (125,121,108) (49%,47%,42%)
R 125 of 255 = 49%
G 121 of 255 = 47%
B 108 of 255 = 42%
R + G + B ~ 46%. #7D796C is middle color (not dark and not light).
R + G + B =
125 + 121 + 108 = 354 (100%)
R 125 of 354 ~ 35.31%
G 121 of 354 ~ 34.18%
B 108 of 354 ~ 30.51%
#7D796C color CMYK value is (0,3,14,51).
CMYK: (0,3,14,51) C0M3Y14K51 (0%,3%,14%,51%) (0.00/0.03/0.14/0.51)
7D | 79 | 6C | |
---|---|---|---|
RGB | 125 | 121 | 108 |
HSL | 46° | 7.30% | 45.69% |
HSB/HSV | 46° | 13.60% | 49.02% |
CMYK | 0.00% | 3.20% | 13.60% |
50.98% |
HEX | 7D | 79 | 6C |
Decimal | 125 | 121 | 108 |
Binary | 1111101 | 1111001 | 1101100 |
Octal | 175 | 171 | 154 |
Examples of css and html codes for elements with #7D796C color. Also use rgb(125,121,108) instead hex code.
.myTextColor { color: #7D796C; }
<p style="color:#7D796C">This sample text font color is #7D796C.</p>
This text font color is #7D796C.
.myBgColor { background-color: #7D796C; }
<div style="background-color:#7D796C">Inner text</div>
This div background color is #7D796C.
.myBorderColor { border: 1px solid #7D796C; }
<div style="border:3px solid #7D796C">Div</div>
This div border color is #7D796C.
.myOpacity80 { color: #7D796C; opacity: 0.8; }
<p style="color:#7D796C;opacity:0.8;">80%</p>
Text with #7D796C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D796C;}
<p style="text-shadow: 3px 3px 1px #7D796C">Text here.</p>
This text has shadow with #7D796C color.
.textShadow {text-shadow: 3px 3px 1px #7D796C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D796C, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D796C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D796C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D796C, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D796C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D796C; -webkit-box-shadow: 1px 1px 3px 2px #7D796C; box-shadow: 1px 1px 3px 2px #7D796C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D796C; -webkit-box-shadow: 1px 1px 3px 2px #7D796C; box-shadow:1px 1px 3px 2px #7D796C;">
Div content here</div>
This text has color #7D796C on black background.
This text has color #7D796C on white background.
This text has black color on #7D796C background.
This text has white color on #7D796C background.