HEX: #7D986D
RGB: (125,152,109)
#7D986D contains red, green and blue colors in about the same proportion. Web safe color of #7D986D is #669966 (or #696).
#7D986D color RGB value is (125,152,109).
RGB: (125,152,109) (49%,60%,43%)
R 125 of 255 = 49%
G 152 of 255 = 60%
B 109 of 255 = 43%
R + G + B ~ 51%. #7D986D is middle color (not dark and not light).
R + G + B =
125 + 152 + 109 = 386 (100%)
R 125 of 386 ~ 32.38%
G 152 of 386 ~ 39.38%
B 109 of 386 ~ 28.24%
#7D986D color CMYK value is (18,0,28,40).
CMYK: (18,0,28,40) C18M0Y28K40 (18%,0%,28%,40%) (0.18/0.00/0.28/0.40)
7D | 98 | 6D | |
---|---|---|---|
RGB | 125 | 152 | 109 |
HSL | 98° | 17.27% | 51.18% |
HSB/HSV | 98° | 28.29% | 59.61% |
CMYK | 17.76% | 0.00% | 28.29% |
40.39% |
HEX | 7D | 98 | 6D |
Decimal | 125 | 152 | 109 |
Binary | 1111101 | 10011000 | 1101101 |
Octal | 175 | 230 | 155 |
Examples of css and html codes for elements with #7D986D color. Also use rgb(125,152,109) instead hex code.
.myTextColor { color: #7D986D; }
<p style="color:#7D986D">This sample text font color is #7D986D.</p>
This text font color is #7D986D.
.myBgColor { background-color: #7D986D; }
<div style="background-color:#7D986D">Inner text</div>
This div background color is #7D986D.
.myBorderColor { border: 1px solid #7D986D; }
<div style="border:3px solid #7D986D">Div</div>
This div border color is #7D986D.
.myOpacity80 { color: #7D986D; opacity: 0.8; }
<p style="color:#7D986D;opacity:0.8;">80%</p>
Text with #7D986D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D986D;}
<p style="text-shadow: 3px 3px 1px #7D986D">Text here.</p>
This text has shadow with #7D986D color.
.textShadow {text-shadow: 3px 3px 1px #7D986D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D986D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D986D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D986D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D986D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D986D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D986D; -webkit-box-shadow: 1px 1px 3px 2px #7D986D; box-shadow: 1px 1px 3px 2px #7D986D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D986D; -webkit-box-shadow: 1px 1px 3px 2px #7D986D; box-shadow:1px 1px 3px 2px #7D986D;">
Div content here</div>
This text has color #7D986D on black background.
This text has color #7D986D on white background.
This text has black color on #7D986D background.
This text has white color on #7D986D background.