HEX: #874990
RGB: (135,73,144)
#874990 contains mainly red and blue colors. Web safe color of #874990 is #993399 (or #939).
#874990 color RGB value is (135,73,144).
RGB: (135,73,144) (53%,29%,56%)
R 135 of 255 = 53%
G 73 of 255 = 29%
B 144 of 255 = 56%
R + G + B ~ 46%. #874990 is middle color (not dark and not light).
R + G + B =
135 + 73 + 144 = 352 (100%)
R 135 of 352 ~ 38.35%
G 73 of 352 ~ 20.74%
B 144 of 352 ~ 40.91%
#874990 color CMYK value is (6,49,0,44).
CMYK: (6,49,0,44) C6M49Y0K44 (6%,49%,0%,44%) (0.06/0.49/0.00/0.44)
87 | 49 | 90 | |
---|---|---|---|
RGB | 135 | 73 | 144 |
HSL | 292° | 32.72% | 42.55% |
HSB/HSV | 292° | 49.31% | 56.47% |
CMYK | 6.25% | 49.31% | 0.00% |
43.53% |
HEX | 87 | 49 | 90 |
Decimal | 135 | 73 | 144 |
Binary | 10000111 | 1001001 | 10010000 |
Octal | 207 | 111 | 220 |
Examples of css and html codes for elements with #874990 color. Also use rgb(135,73,144) instead hex code.
.myTextColor { color: #874990; }
<p style="color:#874990">This sample text font color is #874990.</p>
This text font color is #874990.
.myBgColor { background-color: #874990; }
<div style="background-color:#874990">Inner text</div>
This div background color is #874990.
.myBorderColor { border: 1px solid #874990; }
<div style="border:3px solid #874990">Div</div>
This div border color is #874990.
.myOpacity80 { color: #874990; opacity: 0.8; }
<p style="color:#874990;opacity:0.8;">80%</p>
Text with #874990 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #874990;}
<p style="text-shadow: 3px 3px 1px #874990">Text here.</p>
This text has shadow with #874990 color.
.textShadow {text-shadow: 3px 3px 1px #874990, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #874990, 5px 5px 20px red">Text here.</p>
This text has shadow with #874990 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#874990, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#874990, Direction=45, Strength=4)">Text</p>
This text has shadow with #874990 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #874990; -webkit-box-shadow: 1px 1px 3px 2px #874990; box-shadow: 1px 1px 3px 2px #874990; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #874990; -webkit-box-shadow: 1px 1px 3px 2px #874990; box-shadow:1px 1px 3px 2px #874990;">
Div content here</div>
This text has color #874990 on black background.
This text has color #874990 on white background.
This text has black color on #874990 background.
This text has white color on #874990 background.