HEX: #878980
RGB: (135,137,128)
#878980 contains red, green and blue colors in about the same proportion. Web safe color of #878980 is #999966 (or #996).
#878980 color RGB value is (135,137,128).
RGB: (135,137,128) (53%,54%,50%)
R 135 of 255 = 53%
G 137 of 255 = 54%
B 128 of 255 = 50%
R + G + B ~ 52%. #878980 is middle color (not dark and not light).
R + G + B =
135 + 137 + 128 = 400 (100%)
R 135 of 400 ~ 33.75%
G 137 of 400 ~ 34.25%
B 128 of 400 ~ 32%
#878980 color CMYK value is (1,0,7,46).
CMYK: (1,0,7,46) C1M0Y7K46 (1%,0%,7%,46%) (0.01/0.00/0.07/0.46)
87 | 89 | 80 | |
---|---|---|---|
RGB | 135 | 137 | 128 |
HSL | 73° | 3.67% | 51.96% |
HSB/HSV | 73° | 6.57% | 53.73% |
CMYK | 1.46% | 0.00% | 6.57% |
46.27% |
HEX | 87 | 89 | 80 |
Decimal | 135 | 137 | 128 |
Binary | 10000111 | 10001001 | 10000000 |
Octal | 207 | 211 | 200 |
Examples of css and html codes for elements with #878980 color. Also use rgb(135,137,128) instead hex code.
.myTextColor { color: #878980; }
<p style="color:#878980">This sample text font color is #878980.</p>
This text font color is #878980.
.myBgColor { background-color: #878980; }
<div style="background-color:#878980">Inner text</div>
This div background color is #878980.
.myBorderColor { border: 1px solid #878980; }
<div style="border:3px solid #878980">Div</div>
This div border color is #878980.
.myOpacity80 { color: #878980; opacity: 0.8; }
<p style="color:#878980;opacity:0.8;">80%</p>
Text with #878980 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #878980;}
<p style="text-shadow: 3px 3px 1px #878980">Text here.</p>
This text has shadow with #878980 color.
.textShadow {text-shadow: 3px 3px 1px #878980, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #878980, 5px 5px 20px red">Text here.</p>
This text has shadow with #878980 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#878980, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#878980, Direction=45, Strength=4)">Text</p>
This text has shadow with #878980 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #878980; -webkit-box-shadow: 1px 1px 3px 2px #878980; box-shadow: 1px 1px 3px 2px #878980; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #878980; -webkit-box-shadow: 1px 1px 3px 2px #878980; box-shadow:1px 1px 3px 2px #878980;">
Div content here</div>
This text has color #878980 on black background.
This text has color #878980 on white background.
This text has black color on #878980 background.
This text has white color on #878980 background.