HEX: #7E971B
RGB: (126,151,27)
#7E971B contains mainly red and green colors. Web safe color of #7E971B is #669933 (or #693).
#7E971B color RGB value is (126,151,27).
RGB: (126,151,27) (49%,59%,11%)
R 126 of 255 = 49%
G 151 of 255 = 59%
B 27 of 255 = 11%
R + G + B ~ 40%. #7E971B is middle color (not dark and not light).
R + G + B =
126 + 151 + 27 = 304 (100%)
R 126 of 304 ~ 41.45%
G 151 of 304 ~ 49.67%
B 27 of 304 ~ 8.88%
#7E971B color CMYK value is (17,0,82,41).
CMYK: (17,0,82,41) C17M0Y82K41 (17%,0%,82%,41%) (0.17/0.00/0.82/0.41)
7E | 97 | 1B | |
---|---|---|---|
RGB | 126 | 151 | 27 |
HSL | 72° | 69.66% | 34.90% |
HSB/HSV | 72° | 82.12% | 59.22% |
CMYK | 16.56% | 0.00% | 82.12% |
40.78% |
HEX | 7E | 97 | 1B |
Decimal | 126 | 151 | 27 |
Binary | 1111110 | 10010111 | 11011 |
Octal | 176 | 227 | 33 |
Examples of css and html codes for elements with #7E971B color. Also use rgb(126,151,27) instead hex code.
.myTextColor { color: #7E971B; }
<p style="color:#7E971B">This sample text font color is #7E971B.</p>
This text font color is #7E971B.
.myBgColor { background-color: #7E971B; }
<div style="background-color:#7E971B">Inner text</div>
This div background color is #7E971B.
.myBorderColor { border: 1px solid #7E971B; }
<div style="border:3px solid #7E971B">Div</div>
This div border color is #7E971B.
.myOpacity80 { color: #7E971B; opacity: 0.8; }
<p style="color:#7E971B;opacity:0.8;">80%</p>
Text with #7E971B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E971B;}
<p style="text-shadow: 3px 3px 1px #7E971B">Text here.</p>
This text has shadow with #7E971B color.
.textShadow {text-shadow: 3px 3px 1px #7E971B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E971B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E971B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E971B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E971B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E971B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E971B; -webkit-box-shadow: 1px 1px 3px 2px #7E971B; box-shadow: 1px 1px 3px 2px #7E971B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E971B; -webkit-box-shadow: 1px 1px 3px 2px #7E971B; box-shadow:1px 1px 3px 2px #7E971B;">
Div content here</div>
This text has color #7E971B on black background.
This text has color #7E971B on white background.
This text has black color on #7E971B background.
This text has white color on #7E971B background.