HEX: #87517C
RGB: (135,81,124)
#87517C contains red, green and blue colors in about the same proportion. Web safe color of #87517C is #996666 (or #966).
#87517C color RGB value is (135,81,124).
RGB: (135,81,124) (53%,32%,49%)
R 135 of 255 = 53%
G 81 of 255 = 32%
B 124 of 255 = 49%
R + G + B ~ 45%. #87517C is middle color (not dark and not light).
R + G + B =
135 + 81 + 124 = 340 (100%)
R 135 of 340 ~ 39.71%
G 81 of 340 ~ 23.82%
B 124 of 340 ~ 36.47%
#87517C color CMYK value is (0,40,8,47).
CMYK: (0,40,8,47) C0M40Y8K47 (0%,40%,8%,47%) (0.00/0.40/0.08/0.47)
87 | 51 | 7C | |
---|---|---|---|
RGB | 135 | 81 | 124 |
HSL | 312° | 25.00% | 42.35% |
HSB/HSV | 312° | 40.00% | 52.94% |
CMYK | 0.00% | 40.00% | 8.15% |
47.06% |
HEX | 87 | 51 | 7C |
Decimal | 135 | 81 | 124 |
Binary | 10000111 | 1010001 | 1111100 |
Octal | 207 | 121 | 174 |
Examples of css and html codes for elements with #87517C color. Also use rgb(135,81,124) instead hex code.
.myTextColor { color: #87517C; }
<p style="color:#87517C">This sample text font color is #87517C.</p>
This text font color is #87517C.
.myBgColor { background-color: #87517C; }
<div style="background-color:#87517C">Inner text</div>
This div background color is #87517C.
.myBorderColor { border: 1px solid #87517C; }
<div style="border:3px solid #87517C">Div</div>
This div border color is #87517C.
.myOpacity80 { color: #87517C; opacity: 0.8; }
<p style="color:#87517C;opacity:0.8;">80%</p>
Text with #87517C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87517C;}
<p style="text-shadow: 3px 3px 1px #87517C">Text here.</p>
This text has shadow with #87517C color.
.textShadow {text-shadow: 3px 3px 1px #87517C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87517C, 5px 5px 20px red">Text here.</p>
This text has shadow with #87517C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87517C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87517C, Direction=45, Strength=4)">Text</p>
This text has shadow with #87517C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87517C; -webkit-box-shadow: 1px 1px 3px 2px #87517C; box-shadow: 1px 1px 3px 2px #87517C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87517C; -webkit-box-shadow: 1px 1px 3px 2px #87517C; box-shadow:1px 1px 3px 2px #87517C;">
Div content here</div>
This text has color #87517C on black background.
This text has color #87517C on white background.
This text has black color on #87517C background.
This text has white color on #87517C background.