HEX: #7D785F
RGB: (125,120,95)
#7D785F contains red, green and blue colors in about the same proportion. Web safe color of #7D785F is #666666 (or #666).
#7D785F color RGB value is (125,120,95).
RGB: (125,120,95) (49%,47%,37%)
R 125 of 255 = 49%
G 120 of 255 = 47%
B 95 of 255 = 37%
R + G + B ~ 44%. #7D785F is middle color (not dark and not light).
R + G + B =
125 + 120 + 95 = 340 (100%)
R 125 of 340 ~ 36.76%
G 120 of 340 ~ 35.29%
B 95 of 340 ~ 27.94%
#7D785F color CMYK value is (0,4,24,51).
CMYK: (0,4,24,51) C0M4Y24K51 (0%,4%,24%,51%) (0.00/0.04/0.24/0.51)
7D | 78 | 5F | |
---|---|---|---|
RGB | 125 | 120 | 95 |
HSL | 50° | 13.64% | 43.14% |
HSB/HSV | 50° | 24.00% | 49.02% |
CMYK | 0.00% | 4.00% | 24.00% |
50.98% |
HEX | 7D | 78 | 5F |
Decimal | 125 | 120 | 95 |
Binary | 1111101 | 1111000 | 1011111 |
Octal | 175 | 170 | 137 |
Examples of css and html codes for elements with #7D785F color. Also use rgb(125,120,95) instead hex code.
.myTextColor { color: #7D785F; }
<p style="color:#7D785F">This sample text font color is #7D785F.</p>
This text font color is #7D785F.
.myBgColor { background-color: #7D785F; }
<div style="background-color:#7D785F">Inner text</div>
This div background color is #7D785F.
.myBorderColor { border: 1px solid #7D785F; }
<div style="border:3px solid #7D785F">Div</div>
This div border color is #7D785F.
.myOpacity80 { color: #7D785F; opacity: 0.8; }
<p style="color:#7D785F;opacity:0.8;">80%</p>
Text with #7D785F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D785F;}
<p style="text-shadow: 3px 3px 1px #7D785F">Text here.</p>
This text has shadow with #7D785F color.
.textShadow {text-shadow: 3px 3px 1px #7D785F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D785F, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D785F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D785F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D785F, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D785F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D785F; -webkit-box-shadow: 1px 1px 3px 2px #7D785F; box-shadow: 1px 1px 3px 2px #7D785F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D785F; -webkit-box-shadow: 1px 1px 3px 2px #7D785F; box-shadow:1px 1px 3px 2px #7D785F;">
Div content here</div>
This text has color #7D785F on black background.
This text has color #7D785F on white background.
This text has black color on #7D785F background.
This text has white color on #7D785F background.