HEX: #966AB2
RGB: (150,106,178)
#966AB2 contains mainly red and blue colors. Web safe color of #966AB2 is #996699 (or #969).
#966AB2 color RGB value is (150,106,178).
RGB: (150,106,178) (59%,42%,70%)
R 150 of 255 = 59%
G 106 of 255 = 42%
B 178 of 255 = 70%
R + G + B ~ 57%. #966AB2 is middle color (not dark and not light).
R + G + B =
150 + 106 + 178 = 434 (100%)
R 150 of 434 ~ 34.56%
G 106 of 434 ~ 24.42%
B 178 of 434 ~ 41.01%
#966AB2 color CMYK value is (16,40,0,30).
CMYK: (16,40,0,30) C16M40Y0K30 (16%,40%,0%,30%) (0.16/0.40/0.00/0.30)
96 | 6A | B2 | |
---|---|---|---|
RGB | 150 | 106 | 178 |
HSL | 277° | 31.86% | 55.69% |
HSB/HSV | 277° | 40.45% | 69.80% |
CMYK | 15.73% | 40.45% | 0.00% |
30.20% |
HEX | 96 | 6A | B2 |
Decimal | 150 | 106 | 178 |
Binary | 10010110 | 1101010 | 10110010 |
Octal | 226 | 152 | 262 |
Examples of css and html codes for elements with #966AB2 color. Also use rgb(150,106,178) instead hex code.
.myTextColor { color: #966AB2; }
<p style="color:#966AB2">This sample text font color is #966AB2.</p>
This text font color is #966AB2.
.myBgColor { background-color: #966AB2; }
<div style="background-color:#966AB2">Inner text</div>
This div background color is #966AB2.
.myBorderColor { border: 1px solid #966AB2; }
<div style="border:3px solid #966AB2">Div</div>
This div border color is #966AB2.
.myOpacity80 { color: #966AB2; opacity: 0.8; }
<p style="color:#966AB2;opacity:0.8;">80%</p>
Text with #966AB2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966AB2;}
<p style="text-shadow: 3px 3px 1px #966AB2">Text here.</p>
This text has shadow with #966AB2 color.
.textShadow {text-shadow: 3px 3px 1px #966AB2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966AB2, 5px 5px 20px red">Text here.</p>
This text has shadow with #966AB2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966AB2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966AB2, Direction=45, Strength=4)">Text</p>
This text has shadow with #966AB2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966AB2; -webkit-box-shadow: 1px 1px 3px 2px #966AB2; box-shadow: 1px 1px 3px 2px #966AB2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966AB2; -webkit-box-shadow: 1px 1px 3px 2px #966AB2; box-shadow:1px 1px 3px 2px #966AB2;">
Div content here</div>
This text has color #966AB2 on black background.
This text has color #966AB2 on white background.
This text has black color on #966AB2 background.
This text has white color on #966AB2 background.