HEX: #7AB872
RGB: (122,184,114)
#7AB872 contains mainly green color. Web safe color of #7AB872 is #66CC66 (or #6C6).
#7AB872 color RGB value is (122,184,114).
RGB: (122,184,114) (48%,72%,45%)
R 122 of 255 = 48%
G 184 of 255 = 72%
B 114 of 255 = 45%
R + G + B ~ 55%. #7AB872 is middle color (not dark and not light).
R + G + B =
122 + 184 + 114 = 420 (100%)
R 122 of 420 ~ 29.05%
G 184 of 420 ~ 43.81%
B 114 of 420 ~ 27.14%
#7AB872 color CMYK value is (34,0,38,28).
CMYK: (34,0,38,28) C34M0Y38K28 (34%,0%,38%,28%) (0.34/0.00/0.38/0.28)
7A | B8 | 72 | |
---|---|---|---|
RGB | 122 | 184 | 114 |
HSL | 113° | 33.02% | 58.43% |
HSB/HSV | 113° | 38.04% | 72.16% |
CMYK | 33.70% | 0.00% | 38.04% |
27.84% |
HEX | 7A | B8 | 72 |
Decimal | 122 | 184 | 114 |
Binary | 1111010 | 10111000 | 1110010 |
Octal | 172 | 270 | 162 |
Examples of css and html codes for elements with #7AB872 color. Also use rgb(122,184,114) instead hex code.
.myTextColor { color: #7AB872; }
<p style="color:#7AB872">This sample text font color is #7AB872.</p>
This text font color is #7AB872.
.myBgColor { background-color: #7AB872; }
<div style="background-color:#7AB872">Inner text</div>
This div background color is #7AB872.
.myBorderColor { border: 1px solid #7AB872; }
<div style="border:3px solid #7AB872">Div</div>
This div border color is #7AB872.
.myOpacity80 { color: #7AB872; opacity: 0.8; }
<p style="color:#7AB872;opacity:0.8;">80%</p>
Text with #7AB872 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7AB872;}
<p style="text-shadow: 3px 3px 1px #7AB872">Text here.</p>
This text has shadow with #7AB872 color.
.textShadow {text-shadow: 3px 3px 1px #7AB872, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7AB872, 5px 5px 20px red">Text here.</p>
This text has shadow with #7AB872 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7AB872, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7AB872, Direction=45, Strength=4)">Text</p>
This text has shadow with #7AB872 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7AB872; -webkit-box-shadow: 1px 1px 3px 2px #7AB872; box-shadow: 1px 1px 3px 2px #7AB872; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7AB872; -webkit-box-shadow: 1px 1px 3px 2px #7AB872; box-shadow:1px 1px 3px 2px #7AB872;">
Div content here</div>
This text has color #7AB872 on black background.
This text has color #7AB872 on white background.
This text has black color on #7AB872 background.
This text has white color on #7AB872 background.