HEX: #87C474
RGB: (135,196,116)
#87C474 contains mainly green color. Web safe color of #87C474 is #99CC66 (or #9C6).
#87C474 color RGB value is (135,196,116).
RGB: (135,196,116) (53%,77%,45%)
R 135 of 255 = 53%
G 196 of 255 = 77%
B 116 of 255 = 45%
R + G + B ~ 58%. #87C474 is middle color (not dark and not light).
R + G + B =
135 + 196 + 116 = 447 (100%)
R 135 of 447 ~ 30.2%
G 196 of 447 ~ 43.85%
B 116 of 447 ~ 25.95%
#87C474 color CMYK value is (31,0,41,23).
CMYK: (31,0,41,23) C31M0Y41K23 (31%,0%,41%,23%) (0.31/0.00/0.41/0.23)
87 | C4 | 74 | |
---|---|---|---|
RGB | 135 | 196 | 116 |
HSL | 106° | 40.40% | 61.18% |
HSB/HSV | 106° | 40.82% | 76.86% |
CMYK | 31.12% | 0.00% | 40.82% |
23.14% |
HEX | 87 | C4 | 74 |
Decimal | 135 | 196 | 116 |
Binary | 10000111 | 11000100 | 1110100 |
Octal | 207 | 304 | 164 |
Examples of css and html codes for elements with #87C474 color. Also use rgb(135,196,116) instead hex code.
.myTextColor { color: #87C474; }
<p style="color:#87C474">This sample text font color is #87C474.</p>
This text font color is #87C474.
.myBgColor { background-color: #87C474; }
<div style="background-color:#87C474">Inner text</div>
This div background color is #87C474.
.myBorderColor { border: 1px solid #87C474; }
<div style="border:3px solid #87C474">Div</div>
This div border color is #87C474.
.myOpacity80 { color: #87C474; opacity: 0.8; }
<p style="color:#87C474;opacity:0.8;">80%</p>
Text with #87C474 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87C474;}
<p style="text-shadow: 3px 3px 1px #87C474">Text here.</p>
This text has shadow with #87C474 color.
.textShadow {text-shadow: 3px 3px 1px #87C474, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87C474, 5px 5px 20px red">Text here.</p>
This text has shadow with #87C474 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87C474, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87C474, Direction=45, Strength=4)">Text</p>
This text has shadow with #87C474 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87C474; -webkit-box-shadow: 1px 1px 3px 2px #87C474; box-shadow: 1px 1px 3px 2px #87C474; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87C474; -webkit-box-shadow: 1px 1px 3px 2px #87C474; box-shadow:1px 1px 3px 2px #87C474;">
Div content here</div>
This text has color #87C474 on black background.
This text has color #87C474 on white background.
This text has black color on #87C474 background.
This text has white color on #87C474 background.