HEX: #87A748
RGB: (135,167,72)
#87A748 contains mainly red and green colors. Web safe color of #87A748 is #999933 (or #993).
#87A748 color RGB value is (135,167,72).
RGB: (135,167,72) (53%,65%,28%)
R 135 of 255 = 53%
G 167 of 255 = 65%
B 72 of 255 = 28%
R + G + B ~ 49%. #87A748 is middle color (not dark and not light).
R + G + B =
135 + 167 + 72 = 374 (100%)
R 135 of 374 ~ 36.1%
G 167 of 374 ~ 44.65%
B 72 of 374 ~ 19.25%
#87A748 color CMYK value is (19,0,57,35).
CMYK: (19,0,57,35) C19M0Y57K35 (19%,0%,57%,35%) (0.19/0.00/0.57/0.35)
87 | A7 | 48 | |
---|---|---|---|
RGB | 135 | 167 | 72 |
HSL | 80° | 39.75% | 46.86% |
HSB/HSV | 80° | 56.89% | 65.49% |
CMYK | 19.16% | 0.00% | 56.89% |
34.51% |
HEX | 87 | A7 | 48 |
Decimal | 135 | 167 | 72 |
Binary | 10000111 | 10100111 | 1001000 |
Octal | 207 | 247 | 110 |
Examples of css and html codes for elements with #87A748 color. Also use rgb(135,167,72) instead hex code.
.myTextColor { color: #87A748; }
<p style="color:#87A748">This sample text font color is #87A748.</p>
This text font color is #87A748.
.myBgColor { background-color: #87A748; }
<div style="background-color:#87A748">Inner text</div>
This div background color is #87A748.
.myBorderColor { border: 1px solid #87A748; }
<div style="border:3px solid #87A748">Div</div>
This div border color is #87A748.
.myOpacity80 { color: #87A748; opacity: 0.8; }
<p style="color:#87A748;opacity:0.8;">80%</p>
Text with #87A748 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87A748;}
<p style="text-shadow: 3px 3px 1px #87A748">Text here.</p>
This text has shadow with #87A748 color.
.textShadow {text-shadow: 3px 3px 1px #87A748, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87A748, 5px 5px 20px red">Text here.</p>
This text has shadow with #87A748 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87A748, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87A748, Direction=45, Strength=4)">Text</p>
This text has shadow with #87A748 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87A748; -webkit-box-shadow: 1px 1px 3px 2px #87A748; box-shadow: 1px 1px 3px 2px #87A748; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87A748; -webkit-box-shadow: 1px 1px 3px 2px #87A748; box-shadow:1px 1px 3px 2px #87A748;">
Div content here</div>
This text has color #87A748 on black background.
This text has color #87A748 on white background.
This text has black color on #87A748 background.
This text has white color on #87A748 background.