HEX: #87507D
RGB: (135,80,125)
#87507D contains red, green and blue colors in about the same proportion. Web safe color of #87507D is #996666 (or #966).
#87507D color RGB value is (135,80,125).
RGB: (135,80,125) (53%,31%,49%)
R 135 of 255 = 53%
G 80 of 255 = 31%
B 125 of 255 = 49%
R + G + B ~ 44%. #87507D is middle color (not dark and not light).
R + G + B =
135 + 80 + 125 = 340 (100%)
R 135 of 340 ~ 39.71%
G 80 of 340 ~ 23.53%
B 125 of 340 ~ 36.76%
#87507D color CMYK value is (0,41,7,47).
CMYK: (0,41,7,47) C0M41Y7K47 (0%,41%,7%,47%) (0.00/0.41/0.07/0.47)
87 | 50 | 7D | |
---|---|---|---|
RGB | 135 | 80 | 125 |
HSL | 311° | 25.58% | 42.16% |
HSB/HSV | 311° | 40.74% | 52.94% |
CMYK | 0.00% | 40.74% | 7.41% |
47.06% |
HEX | 87 | 50 | 7D |
Decimal | 135 | 80 | 125 |
Binary | 10000111 | 1010000 | 1111101 |
Octal | 207 | 120 | 175 |
Examples of css and html codes for elements with #87507D color. Also use rgb(135,80,125) instead hex code.
.myTextColor { color: #87507D; }
<p style="color:#87507D">This sample text font color is #87507D.</p>
This text font color is #87507D.
.myBgColor { background-color: #87507D; }
<div style="background-color:#87507D">Inner text</div>
This div background color is #87507D.
.myBorderColor { border: 1px solid #87507D; }
<div style="border:3px solid #87507D">Div</div>
This div border color is #87507D.
.myOpacity80 { color: #87507D; opacity: 0.8; }
<p style="color:#87507D;opacity:0.8;">80%</p>
Text with #87507D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87507D;}
<p style="text-shadow: 3px 3px 1px #87507D">Text here.</p>
This text has shadow with #87507D color.
.textShadow {text-shadow: 3px 3px 1px #87507D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87507D, 5px 5px 20px red">Text here.</p>
This text has shadow with #87507D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87507D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87507D, Direction=45, Strength=4)">Text</p>
This text has shadow with #87507D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87507D; -webkit-box-shadow: 1px 1px 3px 2px #87507D; box-shadow: 1px 1px 3px 2px #87507D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87507D; -webkit-box-shadow: 1px 1px 3px 2px #87507D; box-shadow:1px 1px 3px 2px #87507D;">
Div content here</div>
This text has color #87507D on black background.
This text has color #87507D on white background.
This text has black color on #87507D background.
This text has white color on #87507D background.