HEX: #87B45E
RGB: (135,180,94)
#87B45E contains mainly red and green colors. Web safe color of #87B45E is #99CC66 (or #9C6).
#87B45E color RGB value is (135,180,94).
RGB: (135,180,94) (53%,71%,37%)
R 135 of 255 = 53%
G 180 of 255 = 71%
B 94 of 255 = 37%
R + G + B ~ 54%. #87B45E is middle color (not dark and not light).
R + G + B =
135 + 180 + 94 = 409 (100%)
R 135 of 409 ~ 33.01%
G 180 of 409 ~ 44.01%
B 94 of 409 ~ 22.98%
#87B45E color CMYK value is (25,0,48,29).
CMYK: (25,0,48,29) C25M0Y48K29 (25%,0%,48%,29%) (0.25/0.00/0.48/0.29)
87 | B4 | 5E | |
---|---|---|---|
RGB | 135 | 180 | 94 |
HSL | 91° | 36.44% | 53.73% |
HSB/HSV | 91° | 47.78% | 70.59% |
CMYK | 25.00% | 0.00% | 47.78% |
29.41% |
HEX | 87 | B4 | 5E |
Decimal | 135 | 180 | 94 |
Binary | 10000111 | 10110100 | 1011110 |
Octal | 207 | 264 | 136 |
Examples of css and html codes for elements with #87B45E color. Also use rgb(135,180,94) instead hex code.
.myTextColor { color: #87B45E; }
<p style="color:#87B45E">This sample text font color is #87B45E.</p>
This text font color is #87B45E.
.myBgColor { background-color: #87B45E; }
<div style="background-color:#87B45E">Inner text</div>
This div background color is #87B45E.
.myBorderColor { border: 1px solid #87B45E; }
<div style="border:3px solid #87B45E">Div</div>
This div border color is #87B45E.
.myOpacity80 { color: #87B45E; opacity: 0.8; }
<p style="color:#87B45E;opacity:0.8;">80%</p>
Text with #87B45E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87B45E;}
<p style="text-shadow: 3px 3px 1px #87B45E">Text here.</p>
This text has shadow with #87B45E color.
.textShadow {text-shadow: 3px 3px 1px #87B45E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87B45E, 5px 5px 20px red">Text here.</p>
This text has shadow with #87B45E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87B45E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87B45E, Direction=45, Strength=4)">Text</p>
This text has shadow with #87B45E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87B45E; -webkit-box-shadow: 1px 1px 3px 2px #87B45E; box-shadow: 1px 1px 3px 2px #87B45E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87B45E; -webkit-box-shadow: 1px 1px 3px 2px #87B45E; box-shadow:1px 1px 3px 2px #87B45E;">
Div content here</div>
This text has color #87B45E on black background.
This text has color #87B45E on white background.
This text has black color on #87B45E background.
This text has white color on #87B45E background.