HEX: #8E488A
RGB: (142,72,138)
#8E488A contains mainly red and blue colors. Web safe color of #8E488A is #993399 (or #939).
#8E488A color RGB value is (142,72,138).
RGB: (142,72,138) (56%,28%,54%)
R 142 of 255 = 56%
G 72 of 255 = 28%
B 138 of 255 = 54%
R + G + B ~ 46%. #8E488A is middle color (not dark and not light).
R + G + B =
142 + 72 + 138 = 352 (100%)
R 142 of 352 ~ 40.34%
G 72 of 352 ~ 20.45%
B 138 of 352 ~ 39.2%
#8E488A color CMYK value is (0,49,3,44).
CMYK: (0,49,3,44) C0M49Y3K44 (0%,49%,3%,44%) (0.00/0.49/0.03/0.44)
8E | 48 | 8A | |
---|---|---|---|
RGB | 142 | 72 | 138 |
HSL | 303° | 32.71% | 41.96% |
HSB/HSV | 303° | 49.30% | 55.69% |
CMYK | 0.00% | 49.30% | 2.82% |
44.31% |
HEX | 8E | 48 | 8A |
Decimal | 142 | 72 | 138 |
Binary | 10001110 | 1001000 | 10001010 |
Octal | 216 | 110 | 212 |
Examples of css and html codes for elements with #8E488A color. Also use rgb(142,72,138) instead hex code.
.myTextColor { color: #8E488A; }
<p style="color:#8E488A">This sample text font color is #8E488A.</p>
This text font color is #8E488A.
.myBgColor { background-color: #8E488A; }
<div style="background-color:#8E488A">Inner text</div>
This div background color is #8E488A.
.myBorderColor { border: 1px solid #8E488A; }
<div style="border:3px solid #8E488A">Div</div>
This div border color is #8E488A.
.myOpacity80 { color: #8E488A; opacity: 0.8; }
<p style="color:#8E488A;opacity:0.8;">80%</p>
Text with #8E488A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8E488A;}
<p style="text-shadow: 3px 3px 1px #8E488A">Text here.</p>
This text has shadow with #8E488A color.
.textShadow {text-shadow: 3px 3px 1px #8E488A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8E488A, 5px 5px 20px red">Text here.</p>
This text has shadow with #8E488A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8E488A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8E488A, Direction=45, Strength=4)">Text</p>
This text has shadow with #8E488A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8E488A; -webkit-box-shadow: 1px 1px 3px 2px #8E488A; box-shadow: 1px 1px 3px 2px #8E488A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8E488A; -webkit-box-shadow: 1px 1px 3px 2px #8E488A; box-shadow:1px 1px 3px 2px #8E488A;">
Div content here</div>
This text has color #8E488A on black background.
This text has color #8E488A on white background.
This text has black color on #8E488A background.
This text has white color on #8E488A background.