HEX: #7E772B
RGB: (126,119,43)
#7E772B contains mainly red and green colors. Web safe color of #7E772B is #666633 (or #663).
#7E772B color RGB value is (126,119,43).
RGB: (126,119,43) (49%,47%,17%)
R 126 of 255 = 49%
G 119 of 255 = 47%
B 43 of 255 = 17%
R + G + B ~ 38%. #7E772B is quite dark color.
R + G + B =
126 + 119 + 43 = 288 (100%)
R 126 of 288 ~ 43.75%
G 119 of 288 ~ 41.32%
B 43 of 288 ~ 14.93%
#7E772B color CMYK value is (0,6,66,51).
CMYK: (0,6,66,51) C0M6Y66K51 (0%,6%,66%,51%) (0.00/0.06/0.66/0.51)
7E | 77 | 2B | |
---|---|---|---|
RGB | 126 | 119 | 43 |
HSL | 55° | 49.11% | 33.14% |
HSB/HSV | 55° | 65.87% | 49.41% |
CMYK | 0.00% | 5.56% | 65.87% |
50.59% |
HEX | 7E | 77 | 2B |
Decimal | 126 | 119 | 43 |
Binary | 1111110 | 1110111 | 101011 |
Octal | 176 | 167 | 53 |
Examples of css and html codes for elements with #7E772B color. Also use rgb(126,119,43) instead hex code.
.myTextColor { color: #7E772B; }
<p style="color:#7E772B">This sample text font color is #7E772B.</p>
This text font color is #7E772B.
.myBgColor { background-color: #7E772B; }
<div style="background-color:#7E772B">Inner text</div>
This div background color is #7E772B.
.myBorderColor { border: 1px solid #7E772B; }
<div style="border:3px solid #7E772B">Div</div>
This div border color is #7E772B.
.myOpacity80 { color: #7E772B; opacity: 0.8; }
<p style="color:#7E772B;opacity:0.8;">80%</p>
Text with #7E772B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E772B;}
<p style="text-shadow: 3px 3px 1px #7E772B">Text here.</p>
This text has shadow with #7E772B color.
.textShadow {text-shadow: 3px 3px 1px #7E772B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E772B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E772B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E772B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E772B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E772B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E772B; -webkit-box-shadow: 1px 1px 3px 2px #7E772B; box-shadow: 1px 1px 3px 2px #7E772B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E772B; -webkit-box-shadow: 1px 1px 3px 2px #7E772B; box-shadow:1px 1px 3px 2px #7E772B;">
Div content here</div>
This text has color #7E772B on black background.
This text has color #7E772B on white background.
This text has black color on #7E772B background.
This text has white color on #7E772B background.