HEX: #7EB742
RGB: (126,183,66)
#7EB742 contains mainly red and green colors. Web safe color of #7EB742 is #66CC33 (or #6C3).
#7EB742 color RGB value is (126,183,66).
RGB: (126,183,66) (49%,72%,26%)
R 126 of 255 = 49%
G 183 of 255 = 72%
B 66 of 255 = 26%
R + G + B ~ 49%. #7EB742 is middle color (not dark and not light).
R + G + B =
126 + 183 + 66 = 375 (100%)
R 126 of 375 ~ 33.6%
G 183 of 375 ~ 48.8%
B 66 of 375 ~ 17.6%
#7EB742 color CMYK value is (31,0,64,28).
CMYK: (31,0,64,28) C31M0Y64K28 (31%,0%,64%,28%) (0.31/0.00/0.64/0.28)
7E | B7 | 42 | |
---|---|---|---|
RGB | 126 | 183 | 66 |
HSL | 89° | 46.99% | 48.82% |
HSB/HSV | 89° | 63.93% | 71.76% |
CMYK | 31.15% | 0.00% | 63.93% |
28.24% |
HEX | 7E | B7 | 42 |
Decimal | 126 | 183 | 66 |
Binary | 1111110 | 10110111 | 1000010 |
Octal | 176 | 267 | 102 |
Examples of css and html codes for elements with #7EB742 color. Also use rgb(126,183,66) instead hex code.
.myTextColor { color: #7EB742; }
<p style="color:#7EB742">This sample text font color is #7EB742.</p>
This text font color is #7EB742.
.myBgColor { background-color: #7EB742; }
<div style="background-color:#7EB742">Inner text</div>
This div background color is #7EB742.
.myBorderColor { border: 1px solid #7EB742; }
<div style="border:3px solid #7EB742">Div</div>
This div border color is #7EB742.
.myOpacity80 { color: #7EB742; opacity: 0.8; }
<p style="color:#7EB742;opacity:0.8;">80%</p>
Text with #7EB742 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7EB742;}
<p style="text-shadow: 3px 3px 1px #7EB742">Text here.</p>
This text has shadow with #7EB742 color.
.textShadow {text-shadow: 3px 3px 1px #7EB742, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7EB742, 5px 5px 20px red">Text here.</p>
This text has shadow with #7EB742 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7EB742, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7EB742, Direction=45, Strength=4)">Text</p>
This text has shadow with #7EB742 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7EB742; -webkit-box-shadow: 1px 1px 3px 2px #7EB742; box-shadow: 1px 1px 3px 2px #7EB742; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7EB742; -webkit-box-shadow: 1px 1px 3px 2px #7EB742; box-shadow:1px 1px 3px 2px #7EB742;">
Div content here</div>
This text has color #7EB742 on black background.
This text has color #7EB742 on white background.
This text has black color on #7EB742 background.
This text has white color on #7EB742 background.