HEX: #87018D
RGB: (135,1,141)
#87018D contains mainly red and blue colors. Web safe color of #87018D is #990099 (or #909).
#87018D color RGB value is (135,1,141).
RGB: (135,1,141) (53%,0%,55%)
R 135 of 255 = 53%
G 1 of 255 = 0%
B 141 of 255 = 55%
R + G + B ~ 36%. #87018D is quite dark color.
R + G + B =
135 + 1 + 141 = 277 (100%)
R 135 of 277 ~ 48.74%
G 1 of 277 ~ 0.36%
B 141 of 277 ~ 50.9%
#87018D color CMYK value is (4,99,0,45).
CMYK: (4,99,0,45) C4M99Y0K45 (4%,99%,0%,45%) (0.04/0.99/0.00/0.45)
87 | 01 | 8D | |
---|---|---|---|
RGB | 135 | 1 | 141 |
HSL | 297° | 98.59% | 27.84% |
HSB/HSV | 297° | 99.29% | 55.29% |
CMYK | 4.26% | 99.29% | 0.00% |
44.71% |
HEX | 87 | 01 | 8D |
Decimal | 135 | 1 | 141 |
Binary | 10000111 | 1 | 10001101 |
Octal | 207 | 1 | 215 |
Examples of css and html codes for elements with #87018D color. Also use rgb(135,1,141) instead hex code.
.myTextColor { color: #87018D; }
<p style="color:#87018D">This sample text font color is #87018D.</p>
This text font color is #87018D.
.myBgColor { background-color: #87018D; }
<div style="background-color:#87018D">Inner text</div>
This div background color is #87018D.
.myBorderColor { border: 1px solid #87018D; }
<div style="border:3px solid #87018D">Div</div>
This div border color is #87018D.
.myOpacity80 { color: #87018D; opacity: 0.8; }
<p style="color:#87018D;opacity:0.8;">80%</p>
Text with #87018D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #87018D;}
<p style="text-shadow: 3px 3px 1px #87018D">Text here.</p>
This text has shadow with #87018D color.
.textShadow {text-shadow: 3px 3px 1px #87018D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #87018D, 5px 5px 20px red">Text here.</p>
This text has shadow with #87018D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#87018D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#87018D, Direction=45, Strength=4)">Text</p>
This text has shadow with #87018D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #87018D; -webkit-box-shadow: 1px 1px 3px 2px #87018D; box-shadow: 1px 1px 3px 2px #87018D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #87018D; -webkit-box-shadow: 1px 1px 3px 2px #87018D; box-shadow:1px 1px 3px 2px #87018D;">
Div content here</div>
This text has color #87018D on black background.
This text has color #87018D on white background.
This text has black color on #87018D background.
This text has white color on #87018D background.