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