HEX: #87A848
RGB: (135,168,72)
#87A848 contains mainly red and green colors. Web safe color of #87A848 is #999933 (or #993).
#87A848 color RGB value is (135,168,72).
RGB: (135,168,72) (53%,66%,28%)
R 135 of 255 = 53%
G 168 of 255 = 66%
B 72 of 255 = 28%
R + G + B ~ 49%. #87A848 is middle color (not dark and not light).
R + G + B =
135 + 168 + 72 = 375 (100%)
R 135 of 375 ~ 36%
G 168 of 375 ~ 44.8%
B 72 of 375 ~ 19.2%
#87A848 color CMYK value is (20,0,57,34).
CMYK: (20,0,57,34) C20M0Y57K34 (20%,0%,57%,34%) (0.20/0.00/0.57/0.34)
87 | A8 | 48 | |
---|---|---|---|
RGB | 135 | 168 | 72 |
HSL | 81° | 40.00% | 47.06% |
HSB/HSV | 81° | 57.14% | 65.88% |
CMYK | 19.64% | 0.00% | 57.14% |
34.12% |
HEX | 87 | A8 | 48 |
Decimal | 135 | 168 | 72 |
Binary | 10000111 | 10101000 | 1001000 |
Octal | 207 | 250 | 110 |
Examples of css and html codes for elements with #87A848 color. Also use rgb(135,168,72) instead hex code.
.myTextColor { color: #87A848; }
<p style="color:#87A848">This sample text font color is #87A848.</p>
This text font color is #87A848.
.myBgColor { background-color: #87A848; }
<div style="background-color:#87A848">Inner text</div>
This div background color is #87A848.
.myBorderColor { border: 1px solid #87A848; }
<div style="border:3px solid #87A848">Div</div>
This div border color is #87A848.
.myOpacity80 { color: #87A848; opacity: 0.8; }
<p style="color:#87A848;opacity:0.8;">80%</p>
Text with #87A848 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87A848;}
<p style="text-shadow: 3px 3px 1px #87A848">Text here.</p>
This text has shadow with #87A848 color.
.textShadow {text-shadow: 3px 3px 1px #87A848, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87A848, 5px 5px 20px red">Text here.</p>
This text has shadow with #87A848 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87A848, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87A848, Direction=45, Strength=4)">Text</p>
This text has shadow with #87A848 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87A848; -webkit-box-shadow: 1px 1px 3px 2px #87A848; box-shadow: 1px 1px 3px 2px #87A848; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87A848; -webkit-box-shadow: 1px 1px 3px 2px #87A848; box-shadow:1px 1px 3px 2px #87A848;">
Div content here</div>
This text has color #87A848 on black background.
This text has color #87A848 on white background.
This text has black color on #87A848 background.
This text has white color on #87A848 background.