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