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