HEX: #996CB1
RGB: (153,108,177)
#996CB1 contains mainly red and blue colors. Web safe color of #996CB1 is #996699 (or #969).
#996CB1 color RGB value is (153,108,177).
RGB: (153,108,177) (60%,42%,69%)
R 153 of 255 = 60%
G 108 of 255 = 42%
B 177 of 255 = 69%
R + G + B ~ 57%. #996CB1 is middle color (not dark and not light).
R + G + B =
153 + 108 + 177 = 438 (100%)
R 153 of 438 ~ 34.93%
G 108 of 438 ~ 24.66%
B 177 of 438 ~ 40.41%
#996CB1 color CMYK value is (14,39,0,31).
CMYK: (14,39,0,31) C14M39Y0K31 (14%,39%,0%,31%) (0.14/0.39/0.00/0.31)
99 | 6C | B1 | |
---|---|---|---|
RGB | 153 | 108 | 177 |
HSL | 279° | 30.67% | 55.88% |
HSB/HSV | 279° | 38.98% | 69.41% |
CMYK | 13.56% | 38.98% | 0.00% |
30.59% |
HEX | 99 | 6C | B1 |
Decimal | 153 | 108 | 177 |
Binary | 10011001 | 1101100 | 10110001 |
Octal | 231 | 154 | 261 |
Examples of css and html codes for elements with #996CB1 color. Also use rgb(153,108,177) instead hex code.
.myTextColor { color: #996CB1; }
<p style="color:#996CB1">This sample text font color is #996CB1.</p>
This text font color is #996CB1.
.myBgColor { background-color: #996CB1; }
<div style="background-color:#996CB1">Inner text</div>
This div background color is #996CB1.
.myBorderColor { border: 1px solid #996CB1; }
<div style="border:3px solid #996CB1">Div</div>
This div border color is #996CB1.
.myOpacity80 { color: #996CB1; opacity: 0.8; }
<p style="color:#996CB1;opacity:0.8;">80%</p>
Text with #996CB1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #996CB1;}
<p style="text-shadow: 3px 3px 1px #996CB1">Text here.</p>
This text has shadow with #996CB1 color.
.textShadow {text-shadow: 3px 3px 1px #996CB1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #996CB1, 5px 5px 20px red">Text here.</p>
This text has shadow with #996CB1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#996CB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#996CB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #996CB1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #996CB1; -webkit-box-shadow: 1px 1px 3px 2px #996CB1; box-shadow: 1px 1px 3px 2px #996CB1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #996CB1; -webkit-box-shadow: 1px 1px 3px 2px #996CB1; box-shadow:1px 1px 3px 2px #996CB1;">
Div content here</div>
This text has color #996CB1 on black background.
This text has color #996CB1 on white background.
This text has black color on #996CB1 background.
This text has white color on #996CB1 background.