HEX: #87A45A
RGB: (135,164,90)
#87A45A contains mainly red and green colors. Web safe color of #87A45A is #999966 (or #996).
#87A45A color RGB value is (135,164,90).
RGB: (135,164,90) (53%,64%,35%)
R 135 of 255 = 53%
G 164 of 255 = 64%
B 90 of 255 = 35%
R + G + B ~ 51%. #87A45A is middle color (not dark and not light).
R + G + B =
135 + 164 + 90 = 389 (100%)
R 135 of 389 ~ 34.7%
G 164 of 389 ~ 42.16%
B 90 of 389 ~ 23.14%
#87A45A color CMYK value is (18,0,45,36).
CMYK: (18,0,45,36) C18M0Y45K36 (18%,0%,45%,36%) (0.18/0.00/0.45/0.36)
87 | A4 | 5A | |
---|---|---|---|
RGB | 135 | 164 | 90 |
HSL | 84° | 29.13% | 49.80% |
HSB/HSV | 84° | 45.12% | 64.31% |
CMYK | 17.68% | 0.00% | 45.12% |
35.69% |
HEX | 87 | A4 | 5A |
Decimal | 135 | 164 | 90 |
Binary | 10000111 | 10100100 | 1011010 |
Octal | 207 | 244 | 132 |
Examples of css and html codes for elements with #87A45A color. Also use rgb(135,164,90) instead hex code.
.myTextColor { color: #87A45A; }
<p style="color:#87A45A">This sample text font color is #87A45A.</p>
This text font color is #87A45A.
.myBgColor { background-color: #87A45A; }
<div style="background-color:#87A45A">Inner text</div>
This div background color is #87A45A.
.myBorderColor { border: 1px solid #87A45A; }
<div style="border:3px solid #87A45A">Div</div>
This div border color is #87A45A.
.myOpacity80 { color: #87A45A; opacity: 0.8; }
<p style="color:#87A45A;opacity:0.8;">80%</p>
Text with #87A45A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87A45A;}
<p style="text-shadow: 3px 3px 1px #87A45A">Text here.</p>
This text has shadow with #87A45A color.
.textShadow {text-shadow: 3px 3px 1px #87A45A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87A45A, 5px 5px 20px red">Text here.</p>
This text has shadow with #87A45A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87A45A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87A45A, Direction=45, Strength=4)">Text</p>
This text has shadow with #87A45A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87A45A; -webkit-box-shadow: 1px 1px 3px 2px #87A45A; box-shadow: 1px 1px 3px 2px #87A45A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87A45A; -webkit-box-shadow: 1px 1px 3px 2px #87A45A; box-shadow:1px 1px 3px 2px #87A45A;">
Div content here</div>
This text has color #87A45A on black background.
This text has color #87A45A on white background.
This text has black color on #87A45A background.
This text has white color on #87A45A background.