HEX: #966A7D
RGB: (150,106,125)
#966A7D contains red, green and blue colors in about the same proportion. Web safe color of #966A7D is #996666 (or #966).
#966A7D color RGB value is (150,106,125).
RGB: (150,106,125) (59%,42%,49%)
R 150 of 255 = 59%
G 106 of 255 = 42%
B 125 of 255 = 49%
R + G + B ~ 50%. #966A7D is middle color (not dark and not light).
R + G + B =
150 + 106 + 125 = 381 (100%)
R 150 of 381 ~ 39.37%
G 106 of 381 ~ 27.82%
B 125 of 381 ~ 32.81%
#966A7D color CMYK value is (0,29,17,41).
CMYK: (0,29,17,41) C0M29Y17K41 (0%,29%,17%,41%) (0.00/0.29/0.17/0.41)
96 | 6A | 7D | |
---|---|---|---|
RGB | 150 | 106 | 125 |
HSL | 334° | 17.32% | 50.20% |
HSB/HSV | 334° | 29.33% | 58.82% |
CMYK | 0.00% | 29.33% | 16.67% |
41.18% |
HEX | 96 | 6A | 7D |
Decimal | 150 | 106 | 125 |
Binary | 10010110 | 1101010 | 1111101 |
Octal | 226 | 152 | 175 |
Examples of css and html codes for elements with #966A7D color. Also use rgb(150,106,125) instead hex code.
.myTextColor { color: #966A7D; }
<p style="color:#966A7D">This sample text font color is #966A7D.</p>
This text font color is #966A7D.
.myBgColor { background-color: #966A7D; }
<div style="background-color:#966A7D">Inner text</div>
This div background color is #966A7D.
.myBorderColor { border: 1px solid #966A7D; }
<div style="border:3px solid #966A7D">Div</div>
This div border color is #966A7D.
.myOpacity80 { color: #966A7D; opacity: 0.8; }
<p style="color:#966A7D;opacity:0.8;">80%</p>
Text with #966A7D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966A7D;}
<p style="text-shadow: 3px 3px 1px #966A7D">Text here.</p>
This text has shadow with #966A7D color.
.textShadow {text-shadow: 3px 3px 1px #966A7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966A7D, 5px 5px 20px red">Text here.</p>
This text has shadow with #966A7D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966A7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966A7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #966A7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966A7D; -webkit-box-shadow: 1px 1px 3px 2px #966A7D; box-shadow: 1px 1px 3px 2px #966A7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966A7D; -webkit-box-shadow: 1px 1px 3px 2px #966A7D; box-shadow:1px 1px 3px 2px #966A7D;">
Div content here</div>
This text has color #966A7D on black background.
This text has color #966A7D on white background.
This text has black color on #966A7D background.
This text has white color on #966A7D background.