HEX: #966B8E
RGB: (150,107,142)
#966B8E contains red, green and blue colors in about the same proportion. Web safe color of #966B8E is #996699 (or #969).
#966B8E color RGB value is (150,107,142).
RGB: (150,107,142) (59%,42%,56%)
R 150 of 255 = 59%
G 107 of 255 = 42%
B 142 of 255 = 56%
R + G + B ~ 52%. #966B8E is middle color (not dark and not light).
R + G + B =
150 + 107 + 142 = 399 (100%)
R 150 of 399 ~ 37.59%
G 107 of 399 ~ 26.82%
B 142 of 399 ~ 35.59%
#966B8E color CMYK value is (0,29,5,41).
CMYK: (0,29,5,41) C0M29Y5K41 (0%,29%,5%,41%) (0.00/0.29/0.05/0.41)
96 | 6B | 8E | |
---|---|---|---|
RGB | 150 | 107 | 142 |
HSL | 311° | 17.00% | 50.39% |
HSB/HSV | 311° | 28.67% | 58.82% |
CMYK | 0.00% | 28.67% | 5.33% |
41.18% |
HEX | 96 | 6B | 8E |
Decimal | 150 | 107 | 142 |
Binary | 10010110 | 1101011 | 10001110 |
Octal | 226 | 153 | 216 |
Examples of css and html codes for elements with #966B8E color. Also use rgb(150,107,142) instead hex code.
.myTextColor { color: #966B8E; }
<p style="color:#966B8E">This sample text font color is #966B8E.</p>
This text font color is #966B8E.
.myBgColor { background-color: #966B8E; }
<div style="background-color:#966B8E">Inner text</div>
This div background color is #966B8E.
.myBorderColor { border: 1px solid #966B8E; }
<div style="border:3px solid #966B8E">Div</div>
This div border color is #966B8E.
.myOpacity80 { color: #966B8E; opacity: 0.8; }
<p style="color:#966B8E;opacity:0.8;">80%</p>
Text with #966B8E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966B8E;}
<p style="text-shadow: 3px 3px 1px #966B8E">Text here.</p>
This text has shadow with #966B8E color.
.textShadow {text-shadow: 3px 3px 1px #966B8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966B8E, 5px 5px 20px red">Text here.</p>
This text has shadow with #966B8E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966B8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966B8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #966B8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966B8E; -webkit-box-shadow: 1px 1px 3px 2px #966B8E; box-shadow: 1px 1px 3px 2px #966B8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966B8E; -webkit-box-shadow: 1px 1px 3px 2px #966B8E; box-shadow:1px 1px 3px 2px #966B8E;">
Div content here</div>
This text has color #966B8E on black background.
This text has color #966B8E on white background.
This text has black color on #966B8E background.
This text has white color on #966B8E background.