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