HEX: #76951F
RGB: (118,149,31)
#76951F contains mainly red and green colors. Web safe color of #76951F is #669933 (or #693).
#76951F color RGB value is (118,149,31).
RGB: (118,149,31) (46%,58%,12%)
R 118 of 255 = 46%
G 149 of 255 = 58%
B 31 of 255 = 12%
R + G + B ~ 39%. #76951F is quite dark color.
R + G + B =
118 + 149 + 31 = 298 (100%)
R 118 of 298 ~ 39.6%
G 149 of 298 ~ 50%
B 31 of 298 ~ 10.4%
#76951F color CMYK value is (21,0,79,42).
CMYK: (21,0,79,42) C21M0Y79K42 (21%,0%,79%,42%) (0.21/0.00/0.79/0.42)
76 | 95 | 1F | |
---|---|---|---|
RGB | 118 | 149 | 31 |
HSL | 76° | 65.56% | 35.29% |
HSB/HSV | 76° | 79.19% | 58.43% |
CMYK | 20.81% | 0.00% | 79.19% |
41.57% |
HEX | 76 | 95 | 1F |
Decimal | 118 | 149 | 31 |
Binary | 1110110 | 10010101 | 11111 |
Octal | 166 | 225 | 37 |
Examples of css and html codes for elements with #76951F color. Also use rgb(118,149,31) instead hex code.
.myTextColor { color: #76951F; }
<p style="color:#76951F">This sample text font color is #76951F.</p>
This text font color is #76951F.
.myBgColor { background-color: #76951F; }
<div style="background-color:#76951F">Inner text</div>
This div background color is #76951F.
.myBorderColor { border: 1px solid #76951F; }
<div style="border:3px solid #76951F">Div</div>
This div border color is #76951F.
.myOpacity80 { color: #76951F; opacity: 0.8; }
<p style="color:#76951F;opacity:0.8;">80%</p>
Text with #76951F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #76951F;}
<p style="text-shadow: 3px 3px 1px #76951F">Text here.</p>
This text has shadow with #76951F color.
.textShadow {text-shadow: 3px 3px 1px #76951F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #76951F, 5px 5px 20px red">Text here.</p>
This text has shadow with #76951F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#76951F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#76951F, Direction=45, Strength=4)">Text</p>
This text has shadow with #76951F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #76951F; -webkit-box-shadow: 1px 1px 3px 2px #76951F; box-shadow: 1px 1px 3px 2px #76951F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #76951F; -webkit-box-shadow: 1px 1px 3px 2px #76951F; box-shadow:1px 1px 3px 2px #76951F;">
Div content here</div>
This text has color #76951F on black background.
This text has color #76951F on white background.
This text has black color on #76951F background.
This text has white color on #76951F background.