HEX: #966B78
RGB: (150,107,120)
#966B78 contains red, green and blue colors in about the same proportion. Web safe color of #966B78 is #996666 (or #966).
#966B78 color RGB value is (150,107,120).
RGB: (150,107,120) (59%,42%,47%)
R 150 of 255 = 59%
G 107 of 255 = 42%
B 120 of 255 = 47%
R + G + B ~ 49%. #966B78 is middle color (not dark and not light).
R + G + B =
150 + 107 + 120 = 377 (100%)
R 150 of 377 ~ 39.79%
G 107 of 377 ~ 28.38%
B 120 of 377 ~ 31.83%
#966B78 color CMYK value is (0,29,20,41).
CMYK: (0,29,20,41) C0M29Y20K41 (0%,29%,20%,41%) (0.00/0.29/0.20/0.41)
96 | 6B | 78 | |
---|---|---|---|
RGB | 150 | 107 | 120 |
HSL | 342° | 17.00% | 50.39% |
HSB/HSV | 342° | 28.67% | 58.82% |
CMYK | 0.00% | 28.67% | 20.00% |
41.18% |
HEX | 96 | 6B | 78 |
Decimal | 150 | 107 | 120 |
Binary | 10010110 | 1101011 | 1111000 |
Octal | 226 | 153 | 170 |
Examples of css and html codes for elements with #966B78 color. Also use rgb(150,107,120) instead hex code.
.myTextColor { color: #966B78; }
<p style="color:#966B78">This sample text font color is #966B78.</p>
This text font color is #966B78.
.myBgColor { background-color: #966B78; }
<div style="background-color:#966B78">Inner text</div>
This div background color is #966B78.
.myBorderColor { border: 1px solid #966B78; }
<div style="border:3px solid #966B78">Div</div>
This div border color is #966B78.
.myOpacity80 { color: #966B78; opacity: 0.8; }
<p style="color:#966B78;opacity:0.8;">80%</p>
Text with #966B78 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #966B78;}
<p style="text-shadow: 3px 3px 1px #966B78">Text here.</p>
This text has shadow with #966B78 color.
.textShadow {text-shadow: 3px 3px 1px #966B78, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #966B78, 5px 5px 20px red">Text here.</p>
This text has shadow with #966B78 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#966B78, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#966B78, Direction=45, Strength=4)">Text</p>
This text has shadow with #966B78 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #966B78; -webkit-box-shadow: 1px 1px 3px 2px #966B78; box-shadow: 1px 1px 3px 2px #966B78; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #966B78; -webkit-box-shadow: 1px 1px 3px 2px #966B78; box-shadow:1px 1px 3px 2px #966B78;">
Div content here</div>
This text has color #966B78 on black background.
This text has color #966B78 on white background.
This text has black color on #966B78 background.
This text has white color on #966B78 background.