HEX: #87A46C
RGB: (135,164,108)
#87A46C contains red, green and blue colors in about the same proportion. Web safe color of #87A46C is #999966 (or #996).
#87A46C color RGB value is (135,164,108).
RGB: (135,164,108) (53%,64%,42%)
R 135 of 255 = 53%
G 164 of 255 = 64%
B 108 of 255 = 42%
R + G + B ~ 53%. #87A46C is middle color (not dark and not light).
R + G + B =
135 + 164 + 108 = 407 (100%)
R 135 of 407 ~ 33.17%
G 164 of 407 ~ 40.29%
B 108 of 407 ~ 26.54%
#87A46C color CMYK value is (18,0,34,36).
CMYK: (18,0,34,36) C18M0Y34K36 (18%,0%,34%,36%) (0.18/0.00/0.34/0.36)
87 | A4 | 6C | |
---|---|---|---|
RGB | 135 | 164 | 108 |
HSL | 91° | 23.53% | 53.33% |
HSB/HSV | 91° | 34.15% | 64.31% |
CMYK | 17.68% | 0.00% | 34.15% |
35.69% |
HEX | 87 | A4 | 6C |
Decimal | 135 | 164 | 108 |
Binary | 10000111 | 10100100 | 1101100 |
Octal | 207 | 244 | 154 |
Examples of css and html codes for elements with #87A46C color. Also use rgb(135,164,108) instead hex code.
.myTextColor { color: #87A46C; }
<p style="color:#87A46C">This sample text font color is #87A46C.</p>
This text font color is #87A46C.
.myBgColor { background-color: #87A46C; }
<div style="background-color:#87A46C">Inner text</div>
This div background color is #87A46C.
.myBorderColor { border: 1px solid #87A46C; }
<div style="border:3px solid #87A46C">Div</div>
This div border color is #87A46C.
.myOpacity80 { color: #87A46C; opacity: 0.8; }
<p style="color:#87A46C;opacity:0.8;">80%</p>
Text with #87A46C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87A46C;}
<p style="text-shadow: 3px 3px 1px #87A46C">Text here.</p>
This text has shadow with #87A46C color.
.textShadow {text-shadow: 3px 3px 1px #87A46C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87A46C, 5px 5px 20px red">Text here.</p>
This text has shadow with #87A46C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87A46C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87A46C, Direction=45, Strength=4)">Text</p>
This text has shadow with #87A46C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87A46C; -webkit-box-shadow: 1px 1px 3px 2px #87A46C; box-shadow: 1px 1px 3px 2px #87A46C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87A46C; -webkit-box-shadow: 1px 1px 3px 2px #87A46C; box-shadow:1px 1px 3px 2px #87A46C;">
Div content here</div>
This text has color #87A46C on black background.
This text has color #87A46C on white background.
This text has black color on #87A46C background.
This text has white color on #87A46C background.