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