HEX: #87B22A
RGB: (135,178,42)
#87B22A contains mainly red and green colors. Web safe color of #87B22A is #999933 (or #993).
#87B22A color RGB value is (135,178,42).
RGB: (135,178,42) (53%,70%,16%)
R 135 of 255 = 53%
G 178 of 255 = 70%
B 42 of 255 = 16%
R + G + B ~ 46%. #87B22A is middle color (not dark and not light).
R + G + B =
135 + 178 + 42 = 355 (100%)
R 135 of 355 ~ 38.03%
G 178 of 355 ~ 50.14%
B 42 of 355 ~ 11.83%
#87B22A color CMYK value is (24,0,76,30).
CMYK: (24,0,76,30) C24M0Y76K30 (24%,0%,76%,30%) (0.24/0.00/0.76/0.30)
87 | B2 | 2A | |
---|---|---|---|
RGB | 135 | 178 | 42 |
HSL | 79° | 61.82% | 43.14% |
HSB/HSV | 79° | 76.40% | 69.80% |
CMYK | 24.16% | 0.00% | 76.40% |
30.20% |
HEX | 87 | B2 | 2A |
Decimal | 135 | 178 | 42 |
Binary | 10000111 | 10110010 | 101010 |
Octal | 207 | 262 | 52 |
Examples of css and html codes for elements with #87B22A color. Also use rgb(135,178,42) instead hex code.
.myTextColor { color: #87B22A; }
<p style="color:#87B22A">This sample text font color is #87B22A.</p>
This text font color is #87B22A.
.myBgColor { background-color: #87B22A; }
<div style="background-color:#87B22A">Inner text</div>
This div background color is #87B22A.
.myBorderColor { border: 1px solid #87B22A; }
<div style="border:3px solid #87B22A">Div</div>
This div border color is #87B22A.
.myOpacity80 { color: #87B22A; opacity: 0.8; }
<p style="color:#87B22A;opacity:0.8;">80%</p>
Text with #87B22A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87B22A;}
<p style="text-shadow: 3px 3px 1px #87B22A">Text here.</p>
This text has shadow with #87B22A color.
.textShadow {text-shadow: 3px 3px 1px #87B22A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87B22A, 5px 5px 20px red">Text here.</p>
This text has shadow with #87B22A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87B22A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87B22A, Direction=45, Strength=4)">Text</p>
This text has shadow with #87B22A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87B22A; -webkit-box-shadow: 1px 1px 3px 2px #87B22A; box-shadow: 1px 1px 3px 2px #87B22A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87B22A; -webkit-box-shadow: 1px 1px 3px 2px #87B22A; box-shadow:1px 1px 3px 2px #87B22A;">
Div content here</div>
This text has color #87B22A on black background.
This text has color #87B22A on white background.
This text has black color on #87B22A background.
This text has white color on #87B22A background.