HEX: #996699
RGB: (153,102,153)
#996699 contains red, green and blue colors in about the same proportion. #996699 color is web safe color. It maybe written shortly as #969.
#996699 color RGB value is (153,102,153).
RGB: (153,102,153) (60%,40%,60%)
R 153 of 255 = 60%
G 102 of 255 = 40%
B 153 of 255 = 60%
R + G + B ~ 53%. #996699 is middle color (not dark and not light).
R + G + B =
153 + 102 + 153 = 408 (100%)
R 153 of 408 ~ 37.5%
G 102 of 408 ~ 25%
B 153 of 408 ~ 37.5%
#996699 color CMYK value is (0,33,0,40).
CMYK: (0,33,0,40) C0M33Y0K40 (0%,33%,0%,40%) (0.00/0.33/0.00/0.40)
99 | 66 | 99 | |
---|---|---|---|
RGB | 153 | 102 | 153 |
HSL | 300° | 20.00% | 50.00% |
HSB/HSV | 300° | 33.33% | 60.00% |
CMYK | 0.00% | 33.33% | 0.00% |
40.00% |
HEX | 99 | 66 | 99 |
Decimal | 153 | 102 | 153 |
Binary | 10011001 | 1100110 | 10011001 |
Octal | 231 | 146 | 231 |
Examples of css and html codes for elements with #996699 color. Also use rgb(153,102,153) instead hex code.
.myTextColor { color: #996699; }
<p style="color:#996699">This sample text font color is #996699.</p>
This text font color is #996699.
.myBgColor { background-color: #996699; }
<div style="background-color:#996699">Inner text</div>
This div background color is #996699.
.myBorderColor { border: 1px solid #996699; }
<div style="border:3px solid #996699">Div</div>
This div border color is #996699.
.myOpacity80 { color: #996699; opacity: 0.8; }
<p style="color:#996699;opacity:0.8;">80%</p>
Text with #996699 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #996699;}
<p style="text-shadow: 3px 3px 1px #996699">Text here.</p>
This text has shadow with #996699 color.
.textShadow {text-shadow: 3px 3px 1px #996699, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #996699, 5px 5px 20px red">Text here.</p>
This text has shadow with #996699 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#996699, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#996699, Direction=45, Strength=4)">Text</p>
This text has shadow with #996699 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #996699; -webkit-box-shadow: 1px 1px 3px 2px #996699; box-shadow: 1px 1px 3px 2px #996699; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #996699; -webkit-box-shadow: 1px 1px 3px 2px #996699; box-shadow:1px 1px 3px 2px #996699;">
Div content here</div>
This text has color #996699 on black background.
This text has color #996699 on white background.
This text has black color on #996699 background.
This text has white color on #996699 background.