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