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