HEX: #7D9747
RGB: (125,151,71)
#7D9747 contains mainly red and green colors. Web safe color of #7D9747 is #669933 (or #693).
#7D9747 color RGB value is (125,151,71).
RGB: (125,151,71) (49%,59%,28%)
R 125 of 255 = 49%
G 151 of 255 = 59%
B 71 of 255 = 28%
R + G + B ~ 45%. #7D9747 is middle color (not dark and not light).
R + G + B =
125 + 151 + 71 = 347 (100%)
R 125 of 347 ~ 36.02%
G 151 of 347 ~ 43.52%
B 71 of 347 ~ 20.46%
#7D9747 color CMYK value is (17,0,53,41).
CMYK: (17,0,53,41) C17M0Y53K41 (17%,0%,53%,41%) (0.17/0.00/0.53/0.41)
7D | 97 | 47 | |
---|---|---|---|
RGB | 125 | 151 | 71 |
HSL | 80° | 36.04% | 43.53% |
HSB/HSV | 80° | 52.98% | 59.22% |
CMYK | 17.22% | 0.00% | 52.98% |
40.78% |
HEX | 7D | 97 | 47 |
Decimal | 125 | 151 | 71 |
Binary | 1111101 | 10010111 | 1000111 |
Octal | 175 | 227 | 107 |
Examples of css and html codes for elements with #7D9747 color. Also use rgb(125,151,71) instead hex code.
.myTextColor { color: #7D9747; }
<p style="color:#7D9747">This sample text font color is #7D9747.</p>
This text font color is #7D9747.
.myBgColor { background-color: #7D9747; }
<div style="background-color:#7D9747">Inner text</div>
This div background color is #7D9747.
.myBorderColor { border: 1px solid #7D9747; }
<div style="border:3px solid #7D9747">Div</div>
This div border color is #7D9747.
.myOpacity80 { color: #7D9747; opacity: 0.8; }
<p style="color:#7D9747;opacity:0.8;">80%</p>
Text with #7D9747 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7D9747;}
<p style="text-shadow: 3px 3px 1px #7D9747">Text here.</p>
This text has shadow with #7D9747 color.
.textShadow {text-shadow: 3px 3px 1px #7D9747, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7D9747, 5px 5px 20px red">Text here.</p>
This text has shadow with #7D9747 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7D9747, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7D9747, Direction=45, Strength=4)">Text</p>
This text has shadow with #7D9747 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7D9747; -webkit-box-shadow: 1px 1px 3px 2px #7D9747; box-shadow: 1px 1px 3px 2px #7D9747; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7D9747; -webkit-box-shadow: 1px 1px 3px 2px #7D9747; box-shadow:1px 1px 3px 2px #7D9747;">
Div content here</div>
This text has color #7D9747 on black background.
This text has color #7D9747 on white background.
This text has black color on #7D9747 background.
This text has white color on #7D9747 background.