HEX: #87487B
RGB: (135,72,123)
#87487B contains mainly red and blue colors. Web safe color of #87487B is #993366 (or #936).
#87487B color RGB value is (135,72,123).
RGB: (135,72,123) (53%,28%,48%)
R 135 of 255 = 53%
G 72 of 255 = 28%
B 123 of 255 = 48%
R + G + B ~ 43%. #87487B is middle color (not dark and not light).
R + G + B =
135 + 72 + 123 = 330 (100%)
R 135 of 330 ~ 40.91%
G 72 of 330 ~ 21.82%
B 123 of 330 ~ 37.27%
#87487B color CMYK value is (0,47,9,47).
CMYK: (0,47,9,47) C0M47Y9K47 (0%,47%,9%,47%) (0.00/0.47/0.09/0.47)
87 | 48 | 7B | |
---|---|---|---|
RGB | 135 | 72 | 123 |
HSL | 311° | 30.43% | 40.59% |
HSB/HSV | 311° | 46.67% | 52.94% |
CMYK | 0.00% | 46.67% | 8.89% |
47.06% |
HEX | 87 | 48 | 7B |
Decimal | 135 | 72 | 123 |
Binary | 10000111 | 1001000 | 1111011 |
Octal | 207 | 110 | 173 |
Examples of css and html codes for elements with #87487B color. Also use rgb(135,72,123) instead hex code.
.myTextColor { color: #87487B; }
<p style="color:#87487B">This sample text font color is #87487B.</p>
This text font color is #87487B.
.myBgColor { background-color: #87487B; }
<div style="background-color:#87487B">Inner text</div>
This div background color is #87487B.
.myBorderColor { border: 1px solid #87487B; }
<div style="border:3px solid #87487B">Div</div>
This div border color is #87487B.
.myOpacity80 { color: #87487B; opacity: 0.8; }
<p style="color:#87487B;opacity:0.8;">80%</p>
Text with #87487B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87487B;}
<p style="text-shadow: 3px 3px 1px #87487B">Text here.</p>
This text has shadow with #87487B color.
.textShadow {text-shadow: 3px 3px 1px #87487B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87487B, 5px 5px 20px red">Text here.</p>
This text has shadow with #87487B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87487B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87487B, Direction=45, Strength=4)">Text</p>
This text has shadow with #87487B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87487B; -webkit-box-shadow: 1px 1px 3px 2px #87487B; box-shadow: 1px 1px 3px 2px #87487B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87487B; -webkit-box-shadow: 1px 1px 3px 2px #87487B; box-shadow:1px 1px 3px 2px #87487B;">
Div content here</div>
This text has color #87487B on black background.
This text has color #87487B on white background.
This text has black color on #87487B background.
This text has white color on #87487B background.