HEX: #983E8E
RGB: (152,62,142)
#983E8E contains mainly red and blue colors. Web safe color of #983E8E is #993399 (or #939).
#983E8E color RGB value is (152,62,142).
RGB: (152,62,142) (60%,24%,56%)
R 152 of 255 = 60%
G 62 of 255 = 24%
B 142 of 255 = 56%
R + G + B ~ 47%. #983E8E is middle color (not dark and not light).
R + G + B =
152 + 62 + 142 = 356 (100%)
R 152 of 356 ~ 42.7%
G 62 of 356 ~ 17.42%
B 142 of 356 ~ 39.89%
#983E8E color CMYK value is (0,59,7,40).
CMYK: (0,59,7,40) C0M59Y7K40 (0%,59%,7%,40%) (0.00/0.59/0.07/0.40)
98 | 3E | 8E | |
---|---|---|---|
RGB | 152 | 62 | 142 |
HSL | 307° | 42.06% | 41.96% |
HSB/HSV | 307° | 59.21% | 59.61% |
CMYK | 0.00% | 59.21% | 6.58% |
40.39% |
HEX | 98 | 3E | 8E |
Decimal | 152 | 62 | 142 |
Binary | 10011000 | 111110 | 10001110 |
Octal | 230 | 76 | 216 |
Examples of css and html codes for elements with #983E8E color. Also use rgb(152,62,142) instead hex code.
.myTextColor { color: #983E8E; }
<p style="color:#983E8E">This sample text font color is #983E8E.</p>
This text font color is #983E8E.
.myBgColor { background-color: #983E8E; }
<div style="background-color:#983E8E">Inner text</div>
This div background color is #983E8E.
.myBorderColor { border: 1px solid #983E8E; }
<div style="border:3px solid #983E8E">Div</div>
This div border color is #983E8E.
.myOpacity80 { color: #983E8E; opacity: 0.8; }
<p style="color:#983E8E;opacity:0.8;">80%</p>
Text with #983E8E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #983E8E;}
<p style="text-shadow: 3px 3px 1px #983E8E">Text here.</p>
This text has shadow with #983E8E color.
.textShadow {text-shadow: 3px 3px 1px #983E8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #983E8E, 5px 5px 20px red">Text here.</p>
This text has shadow with #983E8E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#983E8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#983E8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #983E8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #983E8E; -webkit-box-shadow: 1px 1px 3px 2px #983E8E; box-shadow: 1px 1px 3px 2px #983E8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #983E8E; -webkit-box-shadow: 1px 1px 3px 2px #983E8E; box-shadow:1px 1px 3px 2px #983E8E;">
Div content here</div>
This text has color #983E8E on black background.
This text has color #983E8E on white background.
This text has black color on #983E8E background.
This text has white color on #983E8E background.