HEX: #873E74
RGB: (135,62,116)
#873E74 contains mainly red and blue colors. Web safe color of #873E74 is #993366 (or #936).
#873E74 color RGB value is (135,62,116).
RGB: (135,62,116) (53%,24%,45%)
R 135 of 255 = 53%
G 62 of 255 = 24%
B 116 of 255 = 45%
R + G + B ~ 41%. #873E74 is middle color (not dark and not light).
R + G + B =
135 + 62 + 116 = 313 (100%)
R 135 of 313 ~ 43.13%
G 62 of 313 ~ 19.81%
B 116 of 313 ~ 37.06%
#873E74 color CMYK value is (0,54,14,47).
CMYK: (0,54,14,47) C0M54Y14K47 (0%,54%,14%,47%) (0.00/0.54/0.14/0.47)
87 | 3E | 74 | |
---|---|---|---|
RGB | 135 | 62 | 116 |
HSL | 316° | 37.06% | 38.63% |
HSB/HSV | 316° | 54.07% | 52.94% |
CMYK | 0.00% | 54.07% | 14.07% |
47.06% |
HEX | 87 | 3E | 74 |
Decimal | 135 | 62 | 116 |
Binary | 10000111 | 111110 | 1110100 |
Octal | 207 | 76 | 164 |
Examples of css and html codes for elements with #873E74 color. Also use rgb(135,62,116) instead hex code.
.myTextColor { color: #873E74; }
<p style="color:#873E74">This sample text font color is #873E74.</p>
This text font color is #873E74.
.myBgColor { background-color: #873E74; }
<div style="background-color:#873E74">Inner text</div>
This div background color is #873E74.
.myBorderColor { border: 1px solid #873E74; }
<div style="border:3px solid #873E74">Div</div>
This div border color is #873E74.
.myOpacity80 { color: #873E74; opacity: 0.8; }
<p style="color:#873E74;opacity:0.8;">80%</p>
Text with #873E74 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #873E74;}
<p style="text-shadow: 3px 3px 1px #873E74">Text here.</p>
This text has shadow with #873E74 color.
.textShadow {text-shadow: 3px 3px 1px #873E74, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #873E74, 5px 5px 20px red">Text here.</p>
This text has shadow with #873E74 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#873E74, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#873E74, Direction=45, Strength=4)">Text</p>
This text has shadow with #873E74 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #873E74; -webkit-box-shadow: 1px 1px 3px 2px #873E74; box-shadow: 1px 1px 3px 2px #873E74; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #873E74; -webkit-box-shadow: 1px 1px 3px 2px #873E74; box-shadow:1px 1px 3px 2px #873E74;">
Div content here</div>
This text has color #873E74 on black background.
This text has color #873E74 on white background.
This text has black color on #873E74 background.
This text has white color on #873E74 background.