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