HEX: #8E508D
RGB: (142,80,141)
#8E508D contains mainly red and blue colors. Web safe color of #8E508D is #996699 (or #969).
#8E508D color RGB value is (142,80,141).
RGB: (142,80,141) (56%,31%,55%)
R 142 of 255 = 56%
G 80 of 255 = 31%
B 141 of 255 = 55%
R + G + B ~ 47%. #8E508D is middle color (not dark and not light).
R + G + B =
142 + 80 + 141 = 363 (100%)
R 142 of 363 ~ 39.12%
G 80 of 363 ~ 22.04%
B 141 of 363 ~ 38.84%
#8E508D color CMYK value is (0,44,1,44).
CMYK: (0,44,1,44) C0M44Y1K44 (0%,44%,1%,44%) (0.00/0.44/0.01/0.44)
8E | 50 | 8D | |
---|---|---|---|
RGB | 142 | 80 | 141 |
HSL | 301° | 27.93% | 43.53% |
HSB/HSV | 301° | 43.66% | 55.69% |
CMYK | 0.00% | 43.66% | 0.70% |
44.31% |
HEX | 8E | 50 | 8D |
Decimal | 142 | 80 | 141 |
Binary | 10001110 | 1010000 | 10001101 |
Octal | 216 | 120 | 215 |
Examples of css and html codes for elements with #8E508D color. Also use rgb(142,80,141) instead hex code.
.myTextColor { color: #8E508D; }
<p style="color:#8E508D">This sample text font color is #8E508D.</p>
This text font color is #8E508D.
.myBgColor { background-color: #8E508D; }
<div style="background-color:#8E508D">Inner text</div>
This div background color is #8E508D.
.myBorderColor { border: 1px solid #8E508D; }
<div style="border:3px solid #8E508D">Div</div>
This div border color is #8E508D.
.myOpacity80 { color: #8E508D; opacity: 0.8; }
<p style="color:#8E508D;opacity:0.8;">80%</p>
Text with #8E508D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E508D;}
<p style="text-shadow: 3px 3px 1px #8E508D">Text here.</p>
This text has shadow with #8E508D color.
.textShadow {text-shadow: 3px 3px 1px #8E508D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E508D, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E508D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E508D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E508D, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E508D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E508D; -webkit-box-shadow: 1px 1px 3px 2px #8E508D; box-shadow: 1px 1px 3px 2px #8E508D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E508D; -webkit-box-shadow: 1px 1px 3px 2px #8E508D; box-shadow:1px 1px 3px 2px #8E508D;">
Div content here</div>
This text has color #8E508D on black background.
This text has color #8E508D on white background.
This text has black color on #8E508D background.
This text has white color on #8E508D background.