HEX: #966DAD
RGB: (150,109,173)
#966DAD contains mainly red and blue colors. Web safe color of #966DAD is #996699 (or #969).
#966DAD color RGB value is (150,109,173).
RGB: (150,109,173) (59%,43%,68%)
R 150 of 255 = 59%
G 109 of 255 = 43%
B 173 of 255 = 68%
R + G + B ~ 57%. #966DAD is middle color (not dark and not light).
R + G + B =
150 + 109 + 173 = 432 (100%)
R 150 of 432 ~ 34.72%
G 109 of 432 ~ 25.23%
B 173 of 432 ~ 40.05%
#966DAD color CMYK value is (13,37,0,32).
CMYK: (13,37,0,32) C13M37Y0K32 (13%,37%,0%,32%) (0.13/0.37/0.00/0.32)
96 | 6D | AD | |
---|---|---|---|
RGB | 150 | 109 | 173 |
HSL | 278° | 28.07% | 55.29% |
HSB/HSV | 278° | 36.99% | 67.84% |
CMYK | 13.29% | 36.99% | 0.00% |
32.16% |
HEX | 96 | 6D | AD |
Decimal | 150 | 109 | 173 |
Binary | 10010110 | 1101101 | 10101101 |
Octal | 226 | 155 | 255 |
Examples of css and html codes for elements with #966DAD color. Also use rgb(150,109,173) instead hex code.
.myTextColor { color: #966DAD; }
<p style="color:#966DAD">This sample text font color is #966DAD.</p>
This text font color is #966DAD.
.myBgColor { background-color: #966DAD; }
<div style="background-color:#966DAD">Inner text</div>
This div background color is #966DAD.
.myBorderColor { border: 1px solid #966DAD; }
<div style="border:3px solid #966DAD">Div</div>
This div border color is #966DAD.
.myOpacity80 { color: #966DAD; opacity: 0.8; }
<p style="color:#966DAD;opacity:0.8;">80%</p>
Text with #966DAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966DAD;}
<p style="text-shadow: 3px 3px 1px #966DAD">Text here.</p>
This text has shadow with #966DAD color.
.textShadow {text-shadow: 3px 3px 1px #966DAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966DAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #966DAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966DAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966DAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #966DAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966DAD; -webkit-box-shadow: 1px 1px 3px 2px #966DAD; box-shadow: 1px 1px 3px 2px #966DAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966DAD; -webkit-box-shadow: 1px 1px 3px 2px #966DAD; box-shadow:1px 1px 3px 2px #966DAD;">
Div content here</div>
This text has color #966DAD on black background.
This text has color #966DAD on white background.
This text has black color on #966DAD background.
This text has white color on #966DAD background.