HEX: #87BE42
RGB: (135,190,66)
#87BE42 contains mainly red and green colors. Web safe color of #87BE42 is #99CC33 (or #9C3).
#87BE42 color RGB value is (135,190,66).
RGB: (135,190,66) (53%,75%,26%)
R 135 of 255 = 53%
G 190 of 255 = 75%
B 66 of 255 = 26%
R + G + B ~ 51%. #87BE42 is middle color (not dark and not light).
R + G + B =
135 + 190 + 66 = 391 (100%)
R 135 of 391 ~ 34.53%
G 190 of 391 ~ 48.59%
B 66 of 391 ~ 16.88%
#87BE42 color CMYK value is (29,0,65,25).
CMYK: (29,0,65,25) C29M0Y65K25 (29%,0%,65%,25%) (0.29/0.00/0.65/0.25)
87 | BE | 42 | |
---|---|---|---|
RGB | 135 | 190 | 66 |
HSL | 87° | 48.82% | 50.20% |
HSB/HSV | 87° | 65.26% | 74.51% |
CMYK | 28.95% | 0.00% | 65.26% |
25.49% |
HEX | 87 | BE | 42 |
Decimal | 135 | 190 | 66 |
Binary | 10000111 | 10111110 | 1000010 |
Octal | 207 | 276 | 102 |
Examples of css and html codes for elements with #87BE42 color. Also use rgb(135,190,66) instead hex code.
.myTextColor { color: #87BE42; }
<p style="color:#87BE42">This sample text font color is #87BE42.</p>
This text font color is #87BE42.
.myBgColor { background-color: #87BE42; }
<div style="background-color:#87BE42">Inner text</div>
This div background color is #87BE42.
.myBorderColor { border: 1px solid #87BE42; }
<div style="border:3px solid #87BE42">Div</div>
This div border color is #87BE42.
.myOpacity80 { color: #87BE42; opacity: 0.8; }
<p style="color:#87BE42;opacity:0.8;">80%</p>
Text with #87BE42 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87BE42;}
<p style="text-shadow: 3px 3px 1px #87BE42">Text here.</p>
This text has shadow with #87BE42 color.
.textShadow {text-shadow: 3px 3px 1px #87BE42, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87BE42, 5px 5px 20px red">Text here.</p>
This text has shadow with #87BE42 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87BE42, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87BE42, Direction=45, Strength=4)">Text</p>
This text has shadow with #87BE42 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87BE42; -webkit-box-shadow: 1px 1px 3px 2px #87BE42; box-shadow: 1px 1px 3px 2px #87BE42; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87BE42; -webkit-box-shadow: 1px 1px 3px 2px #87BE42; box-shadow:1px 1px 3px 2px #87BE42;">
Div content here</div>
This text has color #87BE42 on black background.
This text has color #87BE42 on white background.
This text has black color on #87BE42 background.
This text has white color on #87BE42 background.