HEX: #96508B
RGB: (150,80,139)
#96508B contains mainly red and blue colors. Web safe color of #96508B is #996699 (or #969).
#96508B color RGB value is (150,80,139).
RGB: (150,80,139) (59%,31%,55%)
R 150 of 255 = 59%
G 80 of 255 = 31%
B 139 of 255 = 55%
R + G + B ~ 48%. #96508B is middle color (not dark and not light).
R + G + B =
150 + 80 + 139 = 369 (100%)
R 150 of 369 ~ 40.65%
G 80 of 369 ~ 21.68%
B 139 of 369 ~ 37.67%
#96508B color CMYK value is (0,47,7,41).
CMYK: (0,47,7,41) C0M47Y7K41 (0%,47%,7%,41%) (0.00/0.47/0.07/0.41)
96 | 50 | 8B | |
---|---|---|---|
RGB | 150 | 80 | 139 |
HSL | 309° | 30.43% | 45.10% |
HSB/HSV | 309° | 46.67% | 58.82% |
CMYK | 0.00% | 46.67% | 7.33% |
41.18% |
HEX | 96 | 50 | 8B |
Decimal | 150 | 80 | 139 |
Binary | 10010110 | 1010000 | 10001011 |
Octal | 226 | 120 | 213 |
Examples of css and html codes for elements with #96508B color. Also use rgb(150,80,139) instead hex code.
.myTextColor { color: #96508B; }
<p style="color:#96508B">This sample text font color is #96508B.</p>
This text font color is #96508B.
.myBgColor { background-color: #96508B; }
<div style="background-color:#96508B">Inner text</div>
This div background color is #96508B.
.myBorderColor { border: 1px solid #96508B; }
<div style="border:3px solid #96508B">Div</div>
This div border color is #96508B.
.myOpacity80 { color: #96508B; opacity: 0.8; }
<p style="color:#96508B;opacity:0.8;">80%</p>
Text with #96508B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #96508B;}
<p style="text-shadow: 3px 3px 1px #96508B">Text here.</p>
This text has shadow with #96508B color.
.textShadow {text-shadow: 3px 3px 1px #96508B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #96508B, 5px 5px 20px red">Text here.</p>
This text has shadow with #96508B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#96508B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#96508B, Direction=45, Strength=4)">Text</p>
This text has shadow with #96508B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #96508B; -webkit-box-shadow: 1px 1px 3px 2px #96508B; box-shadow: 1px 1px 3px 2px #96508B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #96508B; -webkit-box-shadow: 1px 1px 3px 2px #96508B; box-shadow:1px 1px 3px 2px #96508B;">
Div content here</div>
This text has color #96508B on black background.
This text has color #96508B on white background.
This text has black color on #96508B background.
This text has white color on #96508B background.