HEX: #966AB8
RGB: (150,106,184)
#966AB8 contains mainly red and blue colors. Web safe color of #966AB8 is #9966CC (or #96C).
#966AB8 color RGB value is (150,106,184).
RGB: (150,106,184) (59%,42%,72%)
R 150 of 255 = 59%
G 106 of 255 = 42%
B 184 of 255 = 72%
R + G + B ~ 58%. #966AB8 is middle color (not dark and not light).
R + G + B =
150 + 106 + 184 = 440 (100%)
R 150 of 440 ~ 34.09%
G 106 of 440 ~ 24.09%
B 184 of 440 ~ 41.82%
#966AB8 color CMYK value is (18,42,0,28).
CMYK: (18,42,0,28) C18M42Y0K28 (18%,42%,0%,28%) (0.18/0.42/0.00/0.28)
96 | 6A | B8 | |
---|---|---|---|
RGB | 150 | 106 | 184 |
HSL | 274° | 35.45% | 56.86% |
HSB/HSV | 274° | 42.39% | 72.16% |
CMYK | 18.48% | 42.39% | 0.00% |
27.84% |
HEX | 96 | 6A | B8 |
Decimal | 150 | 106 | 184 |
Binary | 10010110 | 1101010 | 10111000 |
Octal | 226 | 152 | 270 |
Examples of css and html codes for elements with #966AB8 color. Also use rgb(150,106,184) instead hex code.
.myTextColor { color: #966AB8; }
<p style="color:#966AB8">This sample text font color is #966AB8.</p>
This text font color is #966AB8.
.myBgColor { background-color: #966AB8; }
<div style="background-color:#966AB8">Inner text</div>
This div background color is #966AB8.
.myBorderColor { border: 1px solid #966AB8; }
<div style="border:3px solid #966AB8">Div</div>
This div border color is #966AB8.
.myOpacity80 { color: #966AB8; opacity: 0.8; }
<p style="color:#966AB8;opacity:0.8;">80%</p>
Text with #966AB8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966AB8;}
<p style="text-shadow: 3px 3px 1px #966AB8">Text here.</p>
This text has shadow with #966AB8 color.
.textShadow {text-shadow: 3px 3px 1px #966AB8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966AB8, 5px 5px 20px red">Text here.</p>
This text has shadow with #966AB8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966AB8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966AB8, Direction=45, Strength=4)">Text</p>
This text has shadow with #966AB8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966AB8; -webkit-box-shadow: 1px 1px 3px 2px #966AB8; box-shadow: 1px 1px 3px 2px #966AB8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966AB8; -webkit-box-shadow: 1px 1px 3px 2px #966AB8; box-shadow:1px 1px 3px 2px #966AB8;">
Div content here</div>
This text has color #966AB8 on black background.
This text has color #966AB8 on white background.
This text has black color on #966AB8 background.
This text has white color on #966AB8 background.