HEX: #7E851B
RGB: (126,133,27)
#7E851B contains mainly red and green colors. Web safe color of #7E851B is #669933 (or #693).
#7E851B color RGB value is (126,133,27).
RGB: (126,133,27) (49%,52%,11%)
R 126 of 255 = 49%
G 133 of 255 = 52%
B 27 of 255 = 11%
R + G + B ~ 37%. #7E851B is quite dark color.
R + G + B =
126 + 133 + 27 = 286 (100%)
R 126 of 286 ~ 44.06%
G 133 of 286 ~ 46.5%
B 27 of 286 ~ 9.44%
#7E851B color CMYK value is (5,0,80,48).
CMYK: (5,0,80,48) C5M0Y80K48 (5%,0%,80%,48%) (0.05/0.00/0.80/0.48)
7E | 85 | 1B | |
---|---|---|---|
RGB | 126 | 133 | 27 |
HSL | 64° | 66.25% | 31.37% |
HSB/HSV | 64° | 79.70% | 52.16% |
CMYK | 5.26% | 0.00% | 79.70% |
47.84% |
HEX | 7E | 85 | 1B |
Decimal | 126 | 133 | 27 |
Binary | 1111110 | 10000101 | 11011 |
Octal | 176 | 205 | 33 |
Examples of css and html codes for elements with #7E851B color. Also use rgb(126,133,27) instead hex code.
.myTextColor { color: #7E851B; }
<p style="color:#7E851B">This sample text font color is #7E851B.</p>
This text font color is #7E851B.
.myBgColor { background-color: #7E851B; }
<div style="background-color:#7E851B">Inner text</div>
This div background color is #7E851B.
.myBorderColor { border: 1px solid #7E851B; }
<div style="border:3px solid #7E851B">Div</div>
This div border color is #7E851B.
.myOpacity80 { color: #7E851B; opacity: 0.8; }
<p style="color:#7E851B;opacity:0.8;">80%</p>
Text with #7E851B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E851B;}
<p style="text-shadow: 3px 3px 1px #7E851B">Text here.</p>
This text has shadow with #7E851B color.
.textShadow {text-shadow: 3px 3px 1px #7E851B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E851B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E851B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E851B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E851B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E851B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E851B; -webkit-box-shadow: 1px 1px 3px 2px #7E851B; box-shadow: 1px 1px 3px 2px #7E851B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E851B; -webkit-box-shadow: 1px 1px 3px 2px #7E851B; box-shadow:1px 1px 3px 2px #7E851B;">
Div content here</div>
This text has color #7E851B on black background.
This text has color #7E851B on white background.
This text has black color on #7E851B background.
This text has white color on #7E851B background.