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