HEX: #7E8426
RGB: (126,132,38)
#7E8426 contains mainly red and green colors. Web safe color of #7E8426 is #669933 (or #693).
#7E8426 color RGB value is (126,132,38).
RGB: (126,132,38) (49%,52%,15%)
R 126 of 255 = 49%
G 132 of 255 = 52%
B 38 of 255 = 15%
R + G + B ~ 39%. #7E8426 is quite dark color.
R + G + B =
126 + 132 + 38 = 296 (100%)
R 126 of 296 ~ 42.57%
G 132 of 296 ~ 44.59%
B 38 of 296 ~ 12.84%
#7E8426 color CMYK value is (5,0,71,48).
CMYK: (5,0,71,48) C5M0Y71K48 (5%,0%,71%,48%) (0.05/0.00/0.71/0.48)
7E | 84 | 26 | |
---|---|---|---|
RGB | 126 | 132 | 38 |
HSL | 64° | 55.29% | 33.33% |
HSB/HSV | 64° | 71.21% | 51.76% |
CMYK | 4.55% | 0.00% | 71.21% |
48.24% |
HEX | 7E | 84 | 26 |
Decimal | 126 | 132 | 38 |
Binary | 1111110 | 10000100 | 100110 |
Octal | 176 | 204 | 46 |
Examples of css and html codes for elements with #7E8426 color. Also use rgb(126,132,38) instead hex code.
.myTextColor { color: #7E8426; }
<p style="color:#7E8426">This sample text font color is #7E8426.</p>
This text font color is #7E8426.
.myBgColor { background-color: #7E8426; }
<div style="background-color:#7E8426">Inner text</div>
This div background color is #7E8426.
.myBorderColor { border: 1px solid #7E8426; }
<div style="border:3px solid #7E8426">Div</div>
This div border color is #7E8426.
.myOpacity80 { color: #7E8426; opacity: 0.8; }
<p style="color:#7E8426;opacity:0.8;">80%</p>
Text with #7E8426 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E8426;}
<p style="text-shadow: 3px 3px 1px #7E8426">Text here.</p>
This text has shadow with #7E8426 color.
.textShadow {text-shadow: 3px 3px 1px #7E8426, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E8426, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E8426 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E8426, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E8426, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E8426 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E8426; -webkit-box-shadow: 1px 1px 3px 2px #7E8426; box-shadow: 1px 1px 3px 2px #7E8426; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E8426; -webkit-box-shadow: 1px 1px 3px 2px #7E8426; box-shadow:1px 1px 3px 2px #7E8426;">
Div content here</div>
This text has color #7E8426 on black background.
This text has color #7E8426 on white background.
This text has black color on #7E8426 background.
This text has white color on #7E8426 background.