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