HEX: #8D498D
RGB: (141,73,141)
#8D498D contains mainly red and blue colors. Web safe color of #8D498D is #993399 (or #939).
#8D498D color RGB value is (141,73,141).
RGB: (141,73,141) (55%,29%,55%)
R 141 of 255 = 55%
G 73 of 255 = 29%
B 141 of 255 = 55%
R + G + B ~ 46%. #8D498D is middle color (not dark and not light).
R + G + B =
141 + 73 + 141 = 355 (100%)
R 141 of 355 ~ 39.72%
G 73 of 355 ~ 20.56%
B 141 of 355 ~ 39.72%
#8D498D color CMYK value is (0,48,0,45).
CMYK: (0,48,0,45) C0M48Y0K45 (0%,48%,0%,45%) (0.00/0.48/0.00/0.45)
8D | 49 | 8D | |
---|---|---|---|
RGB | 141 | 73 | 141 |
HSL | 300° | 31.78% | 41.96% |
HSB/HSV | 300° | 48.23% | 55.29% |
CMYK | 0.00% | 48.23% | 0.00% |
44.71% |
HEX | 8D | 49 | 8D |
Decimal | 141 | 73 | 141 |
Binary | 10001101 | 1001001 | 10001101 |
Octal | 215 | 111 | 215 |
Examples of css and html codes for elements with #8D498D color. Also use rgb(141,73,141) instead hex code.
.myTextColor { color: #8D498D; }
<p style="color:#8D498D">This sample text font color is #8D498D.</p>
This text font color is #8D498D.
.myBgColor { background-color: #8D498D; }
<div style="background-color:#8D498D">Inner text</div>
This div background color is #8D498D.
.myBorderColor { border: 1px solid #8D498D; }
<div style="border:3px solid #8D498D">Div</div>
This div border color is #8D498D.
.myOpacity80 { color: #8D498D; opacity: 0.8; }
<p style="color:#8D498D;opacity:0.8;">80%</p>
Text with #8D498D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #8D498D;}
<p style="text-shadow: 3px 3px 1px #8D498D">Text here.</p>
This text has shadow with #8D498D color.
.textShadow {text-shadow: 3px 3px 1px #8D498D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #8D498D, 5px 5px 20px red">Text here.</p>
This text has shadow with #8D498D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#8D498D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#8D498D, Direction=45, Strength=4)">Text</p>
This text has shadow with #8D498D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #8D498D; -webkit-box-shadow: 1px 1px 3px 2px #8D498D; box-shadow: 1px 1px 3px 2px #8D498D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #8D498D; -webkit-box-shadow: 1px 1px 3px 2px #8D498D; box-shadow:1px 1px 3px 2px #8D498D;">
Div content here</div>
This text has color #8D498D on black background.
This text has color #8D498D on white background.
This text has black color on #8D498D background.
This text has white color on #8D498D background.