HEX: #7E8531
RGB: (126,133,49)
#7E8531 contains mainly red and green colors. Web safe color of #7E8531 is #669933 (or #693).
#7E8531 color RGB value is (126,133,49).
RGB: (126,133,49) (49%,52%,19%)
R 126 of 255 = 49%
G 133 of 255 = 52%
B 49 of 255 = 19%
R + G + B ~ 40%. #7E8531 is middle color (not dark and not light).
R + G + B =
126 + 133 + 49 = 308 (100%)
R 126 of 308 ~ 40.91%
G 133 of 308 ~ 43.18%
B 49 of 308 ~ 15.91%
#7E8531 color CMYK value is (5,0,63,48).
CMYK: (5,0,63,48) C5M0Y63K48 (5%,0%,63%,48%) (0.05/0.00/0.63/0.48)
7E | 85 | 31 | |
---|---|---|---|
RGB | 126 | 133 | 49 |
HSL | 65° | 46.15% | 35.69% |
HSB/HSV | 65° | 63.16% | 52.16% |
CMYK | 5.26% | 0.00% | 63.16% |
47.84% |
HEX | 7E | 85 | 31 |
Decimal | 126 | 133 | 49 |
Binary | 1111110 | 10000101 | 110001 |
Octal | 176 | 205 | 61 |
Examples of css and html codes for elements with #7E8531 color. Also use rgb(126,133,49) instead hex code.
.myTextColor { color: #7E8531; }
<p style="color:#7E8531">This sample text font color is #7E8531.</p>
This text font color is #7E8531.
.myBgColor { background-color: #7E8531; }
<div style="background-color:#7E8531">Inner text</div>
This div background color is #7E8531.
.myBorderColor { border: 1px solid #7E8531; }
<div style="border:3px solid #7E8531">Div</div>
This div border color is #7E8531.
.myOpacity80 { color: #7E8531; opacity: 0.8; }
<p style="color:#7E8531;opacity:0.8;">80%</p>
Text with #7E8531 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E8531;}
<p style="text-shadow: 3px 3px 1px #7E8531">Text here.</p>
This text has shadow with #7E8531 color.
.textShadow {text-shadow: 3px 3px 1px #7E8531, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E8531, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E8531 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E8531, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E8531, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E8531 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E8531; -webkit-box-shadow: 1px 1px 3px 2px #7E8531; box-shadow: 1px 1px 3px 2px #7E8531; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E8531; -webkit-box-shadow: 1px 1px 3px 2px #7E8531; box-shadow:1px 1px 3px 2px #7E8531;">
Div content here</div>
This text has color #7E8531 on black background.
This text has color #7E8531 on white background.
This text has black color on #7E8531 background.
This text has white color on #7E8531 background.