HEX: #966DCA
RGB: (150,109,202)
#966DCA contains mainly red and blue colors. Web safe color of #966DCA is #9966CC (or #96C).
#966DCA color RGB value is (150,109,202).
RGB: (150,109,202) (59%,43%,79%)
R 150 of 255 = 59%
G 109 of 255 = 43%
B 202 of 255 = 79%
R + G + B ~ 60%. #966DCA is middle color (not dark and not light).
R + G + B =
150 + 109 + 202 = 461 (100%)
R 150 of 461 ~ 32.54%
G 109 of 461 ~ 23.64%
B 202 of 461 ~ 43.82%
#966DCA color CMYK value is (26,46,0,21).
CMYK: (26,46,0,21) C26M46Y0K21 (26%,46%,0%,21%) (0.26/0.46/0.00/0.21)
96 | 6D | CA | |
---|---|---|---|
RGB | 150 | 109 | 202 |
HSL | 266° | 46.73% | 60.98% |
HSB/HSV | 266° | 46.04% | 79.22% |
CMYK | 25.74% | 46.04% | 0.00% |
20.78% |
HEX | 96 | 6D | CA |
Decimal | 150 | 109 | 202 |
Binary | 10010110 | 1101101 | 11001010 |
Octal | 226 | 155 | 312 |
Examples of css and html codes for elements with #966DCA color. Also use rgb(150,109,202) instead hex code.
.myTextColor { color: #966DCA; }
<p style="color:#966DCA">This sample text font color is #966DCA.</p>
This text font color is #966DCA.
.myBgColor { background-color: #966DCA; }
<div style="background-color:#966DCA">Inner text</div>
This div background color is #966DCA.
.myBorderColor { border: 1px solid #966DCA; }
<div style="border:3px solid #966DCA">Div</div>
This div border color is #966DCA.
.myOpacity80 { color: #966DCA; opacity: 0.8; }
<p style="color:#966DCA;opacity:0.8;">80%</p>
Text with #966DCA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966DCA;}
<p style="text-shadow: 3px 3px 1px #966DCA">Text here.</p>
This text has shadow with #966DCA color.
.textShadow {text-shadow: 3px 3px 1px #966DCA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966DCA, 5px 5px 20px red">Text here.</p>
This text has shadow with #966DCA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966DCA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966DCA, Direction=45, Strength=4)">Text</p>
This text has shadow with #966DCA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966DCA; -webkit-box-shadow: 1px 1px 3px 2px #966DCA; box-shadow: 1px 1px 3px 2px #966DCA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966DCA; -webkit-box-shadow: 1px 1px 3px 2px #966DCA; box-shadow:1px 1px 3px 2px #966DCA;">
Div content here</div>
This text has color #966DCA on black background.
This text has color #966DCA on white background.
This text has black color on #966DCA background.
This text has white color on #966DCA background.