HEX: #76972D
RGB: (118,151,45)
#76972D contains mainly red and green colors. Web safe color of #76972D is #669933 (or #693).
#76972D color RGB value is (118,151,45).
RGB: (118,151,45) (46%,59%,18%)
R 118 of 255 = 46%
G 151 of 255 = 59%
B 45 of 255 = 18%
R + G + B ~ 41%. #76972D is middle color (not dark and not light).
R + G + B =
118 + 151 + 45 = 314 (100%)
R 118 of 314 ~ 37.58%
G 151 of 314 ~ 48.09%
B 45 of 314 ~ 14.33%
#76972D color CMYK value is (22,0,70,41).
CMYK: (22,0,70,41) C22M0Y70K41 (22%,0%,70%,41%) (0.22/0.00/0.70/0.41)
76 | 97 | 2D | |
---|---|---|---|
RGB | 118 | 151 | 45 |
HSL | 79° | 54.08% | 38.43% |
HSB/HSV | 79° | 70.20% | 59.22% |
CMYK | 21.85% | 0.00% | 70.20% |
40.78% |
HEX | 76 | 97 | 2D |
Decimal | 118 | 151 | 45 |
Binary | 1110110 | 10010111 | 101101 |
Octal | 166 | 227 | 55 |
Examples of css and html codes for elements with #76972D color. Also use rgb(118,151,45) instead hex code.
.myTextColor { color: #76972D; }
<p style="color:#76972D">This sample text font color is #76972D.</p>
This text font color is #76972D.
.myBgColor { background-color: #76972D; }
<div style="background-color:#76972D">Inner text</div>
This div background color is #76972D.
.myBorderColor { border: 1px solid #76972D; }
<div style="border:3px solid #76972D">Div</div>
This div border color is #76972D.
.myOpacity80 { color: #76972D; opacity: 0.8; }
<p style="color:#76972D;opacity:0.8;">80%</p>
Text with #76972D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #76972D;}
<p style="text-shadow: 3px 3px 1px #76972D">Text here.</p>
This text has shadow with #76972D color.
.textShadow {text-shadow: 3px 3px 1px #76972D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #76972D, 5px 5px 20px red">Text here.</p>
This text has shadow with #76972D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#76972D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#76972D, Direction=45, Strength=4)">Text</p>
This text has shadow with #76972D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #76972D; -webkit-box-shadow: 1px 1px 3px 2px #76972D; box-shadow: 1px 1px 3px 2px #76972D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #76972D; -webkit-box-shadow: 1px 1px 3px 2px #76972D; box-shadow:1px 1px 3px 2px #76972D;">
Div content here</div>
This text has color #76972D on black background.
This text has color #76972D on white background.
This text has black color on #76972D background.
This text has white color on #76972D background.