HEX: #875DA6
RGB: (135,93,166)
#875DA6 contains mainly red and blue colors. Web safe color of #875DA6 is #996699 (or #969).
#875DA6 color RGB value is (135,93,166).
RGB: (135,93,166) (53%,36%,65%)
R 135 of 255 = 53%
G 93 of 255 = 36%
B 166 of 255 = 65%
R + G + B ~ 51%. #875DA6 is middle color (not dark and not light).
R + G + B =
135 + 93 + 166 = 394 (100%)
R 135 of 394 ~ 34.26%
G 93 of 394 ~ 23.6%
B 166 of 394 ~ 42.13%
#875DA6 color CMYK value is (19,44,0,35).
CMYK: (19,44,0,35) C19M44Y0K35 (19%,44%,0%,35%) (0.19/0.44/0.00/0.35)
87 | 5D | A6 | |
---|---|---|---|
RGB | 135 | 93 | 166 |
HSL | 275° | 29.08% | 50.78% |
HSB/HSV | 275° | 43.98% | 65.10% |
CMYK | 18.67% | 43.98% | 0.00% |
34.90% |
HEX | 87 | 5D | A6 |
Decimal | 135 | 93 | 166 |
Binary | 10000111 | 1011101 | 10100110 |
Octal | 207 | 135 | 246 |
Examples of css and html codes for elements with #875DA6 color. Also use rgb(135,93,166) instead hex code.
.myTextColor { color: #875DA6; }
<p style="color:#875DA6">This sample text font color is #875DA6.</p>
This text font color is #875DA6.
.myBgColor { background-color: #875DA6; }
<div style="background-color:#875DA6">Inner text</div>
This div background color is #875DA6.
.myBorderColor { border: 1px solid #875DA6; }
<div style="border:3px solid #875DA6">Div</div>
This div border color is #875DA6.
.myOpacity80 { color: #875DA6; opacity: 0.8; }
<p style="color:#875DA6;opacity:0.8;">80%</p>
Text with #875DA6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #875DA6;}
<p style="text-shadow: 3px 3px 1px #875DA6">Text here.</p>
This text has shadow with #875DA6 color.
.textShadow {text-shadow: 3px 3px 1px #875DA6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #875DA6, 5px 5px 20px red">Text here.</p>
This text has shadow with #875DA6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#875DA6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#875DA6, Direction=45, Strength=4)">Text</p>
This text has shadow with #875DA6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #875DA6; -webkit-box-shadow: 1px 1px 3px 2px #875DA6; box-shadow: 1px 1px 3px 2px #875DA6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #875DA6; -webkit-box-shadow: 1px 1px 3px 2px #875DA6; box-shadow:1px 1px 3px 2px #875DA6;">
Div content here</div>
This text has color #875DA6 on black background.
This text has color #875DA6 on white background.
This text has black color on #875DA6 background.
This text has white color on #875DA6 background.