HEX: #87A615
RGB: (135,166,21)
#87A615 contains mainly red and green colors. Web safe color of #87A615 is #999900 (or #990).
#87A615 color RGB value is (135,166,21).
RGB: (135,166,21) (53%,65%,8%)
R 135 of 255 = 53%
G 166 of 255 = 65%
B 21 of 255 = 8%
R + G + B ~ 42%. #87A615 is middle color (not dark and not light).
R + G + B =
135 + 166 + 21 = 322 (100%)
R 135 of 322 ~ 41.93%
G 166 of 322 ~ 51.55%
B 21 of 322 ~ 6.52%
#87A615 color CMYK value is (19,0,87,35).
CMYK: (19,0,87,35) C19M0Y87K35 (19%,0%,87%,35%) (0.19/0.00/0.87/0.35)
87 | A6 | 15 | |
---|---|---|---|
RGB | 135 | 166 | 21 |
HSL | 73° | 77.54% | 36.67% |
HSB/HSV | 73° | 87.35% | 65.10% |
CMYK | 18.67% | 0.00% | 87.35% |
34.90% |
HEX | 87 | A6 | 15 |
Decimal | 135 | 166 | 21 |
Binary | 10000111 | 10100110 | 10101 |
Octal | 207 | 246 | 25 |
Examples of css and html codes for elements with #87A615 color. Also use rgb(135,166,21) instead hex code.
.myTextColor { color: #87A615; }
<p style="color:#87A615">This sample text font color is #87A615.</p>
This text font color is #87A615.
.myBgColor { background-color: #87A615; }
<div style="background-color:#87A615">Inner text</div>
This div background color is #87A615.
.myBorderColor { border: 1px solid #87A615; }
<div style="border:3px solid #87A615">Div</div>
This div border color is #87A615.
.myOpacity80 { color: #87A615; opacity: 0.8; }
<p style="color:#87A615;opacity:0.8;">80%</p>
Text with #87A615 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87A615;}
<p style="text-shadow: 3px 3px 1px #87A615">Text here.</p>
This text has shadow with #87A615 color.
.textShadow {text-shadow: 3px 3px 1px #87A615, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87A615, 5px 5px 20px red">Text here.</p>
This text has shadow with #87A615 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87A615, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87A615, Direction=45, Strength=4)">Text</p>
This text has shadow with #87A615 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87A615; -webkit-box-shadow: 1px 1px 3px 2px #87A615; box-shadow: 1px 1px 3px 2px #87A615; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87A615; -webkit-box-shadow: 1px 1px 3px 2px #87A615; box-shadow:1px 1px 3px 2px #87A615;">
Div content here</div>
This text has color #87A615 on black background.
This text has color #87A615 on white background.
This text has black color on #87A615 background.
This text has white color on #87A615 background.