HEX: #873F82
RGB: (135,63,130)
#873F82 contains mainly red and blue colors. Web safe color of #873F82 is #993399 (or #939).
#873F82 color RGB value is (135,63,130).
RGB: (135,63,130) (53%,25%,51%)
R 135 of 255 = 53%
G 63 of 255 = 25%
B 130 of 255 = 51%
R + G + B ~ 43%. #873F82 is middle color (not dark and not light).
R + G + B =
135 + 63 + 130 = 328 (100%)
R 135 of 328 ~ 41.16%
G 63 of 328 ~ 19.21%
B 130 of 328 ~ 39.63%
#873F82 color CMYK value is (0,53,4,47).
CMYK: (0,53,4,47) C0M53Y4K47 (0%,53%,4%,47%) (0.00/0.53/0.04/0.47)
87 | 3F | 82 | |
---|---|---|---|
RGB | 135 | 63 | 130 |
HSL | 304° | 36.36% | 38.82% |
HSB/HSV | 304° | 53.33% | 52.94% |
CMYK | 0.00% | 53.33% | 3.70% |
47.06% |
HEX | 87 | 3F | 82 |
Decimal | 135 | 63 | 130 |
Binary | 10000111 | 111111 | 10000010 |
Octal | 207 | 77 | 202 |
Examples of css and html codes for elements with #873F82 color. Also use rgb(135,63,130) instead hex code.
.myTextColor { color: #873F82; }
<p style="color:#873F82">This sample text font color is #873F82.</p>
This text font color is #873F82.
.myBgColor { background-color: #873F82; }
<div style="background-color:#873F82">Inner text</div>
This div background color is #873F82.
.myBorderColor { border: 1px solid #873F82; }
<div style="border:3px solid #873F82">Div</div>
This div border color is #873F82.
.myOpacity80 { color: #873F82; opacity: 0.8; }
<p style="color:#873F82;opacity:0.8;">80%</p>
Text with #873F82 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #873F82;}
<p style="text-shadow: 3px 3px 1px #873F82">Text here.</p>
This text has shadow with #873F82 color.
.textShadow {text-shadow: 3px 3px 1px #873F82, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #873F82, 5px 5px 20px red">Text here.</p>
This text has shadow with #873F82 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#873F82, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#873F82, Direction=45, Strength=4)">Text</p>
This text has shadow with #873F82 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #873F82; -webkit-box-shadow: 1px 1px 3px 2px #873F82; box-shadow: 1px 1px 3px 2px #873F82; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #873F82; -webkit-box-shadow: 1px 1px 3px 2px #873F82; box-shadow:1px 1px 3px 2px #873F82;">
Div content here</div>
This text has color #873F82 on black background.
This text has color #873F82 on white background.
This text has black color on #873F82 background.
This text has white color on #873F82 background.