HEX: #8AB979
RGB: (138,185,121)
#8AB979 contains mainly red and green colors. Web safe color of #8AB979 is #99CC66 (or #9C6).
#8AB979 color RGB value is (138,185,121).
RGB: (138,185,121) (54%,73%,47%)
R 138 of 255 = 54%
G 185 of 255 = 73%
B 121 of 255 = 47%
R + G + B ~ 58%. #8AB979 is middle color (not dark and not light).
R + G + B =
138 + 185 + 121 = 444 (100%)
R 138 of 444 ~ 31.08%
G 185 of 444 ~ 41.67%
B 121 of 444 ~ 27.25%
#8AB979 color CMYK value is (25,0,35,27).
CMYK: (25,0,35,27) C25M0Y35K27 (25%,0%,35%,27%) (0.25/0.00/0.35/0.27)
8A | B9 | 79 | |
---|---|---|---|
RGB | 138 | 185 | 121 |
HSL | 104° | 31.37% | 60.00% |
HSB/HSV | 104° | 34.59% | 72.55% |
CMYK | 25.41% | 0.00% | 34.59% |
27.45% |
HEX | 8A | B9 | 79 |
Decimal | 138 | 185 | 121 |
Binary | 10001010 | 10111001 | 1111001 |
Octal | 212 | 271 | 171 |
Examples of css and html codes for elements with #8AB979 color. Also use rgb(138,185,121) instead hex code.
.myTextColor { color: #8AB979; }
<p style="color:#8AB979">This sample text font color is #8AB979.</p>
This text font color is #8AB979.
.myBgColor { background-color: #8AB979; }
<div style="background-color:#8AB979">Inner text</div>
This div background color is #8AB979.
.myBorderColor { border: 1px solid #8AB979; }
<div style="border:3px solid #8AB979">Div</div>
This div border color is #8AB979.
.myOpacity80 { color: #8AB979; opacity: 0.8; }
<p style="color:#8AB979;opacity:0.8;">80%</p>
Text with #8AB979 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8AB979;}
<p style="text-shadow: 3px 3px 1px #8AB979">Text here.</p>
This text has shadow with #8AB979 color.
.textShadow {text-shadow: 3px 3px 1px #8AB979, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8AB979, 5px 5px 20px red">Text here.</p>
This text has shadow with #8AB979 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8AB979, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8AB979, Direction=45, Strength=4)">Text</p>
This text has shadow with #8AB979 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8AB979; -webkit-box-shadow: 1px 1px 3px 2px #8AB979; box-shadow: 1px 1px 3px 2px #8AB979; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8AB979; -webkit-box-shadow: 1px 1px 3px 2px #8AB979; box-shadow:1px 1px 3px 2px #8AB979;">
Div content here</div>
This text has color #8AB979 on black background.
This text has color #8AB979 on white background.
This text has black color on #8AB979 background.
This text has white color on #8AB979 background.