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