HEX: #006CCC
RGB: (0,108,204)
#006CCC contains mainly blue color. Web safe color of #006CCC is #0066CC (or #06C).
#006CCC color RGB value is (0,108,204).
RGB: (0,108,204) (0%,42%,80%)
R 0 of 255 = 0%
G 108 of 255 = 42%
B 204 of 255 = 80%
R + G + B ~ 41%. #006CCC is middle color (not dark and not light).
R + G + B =
0 + 108 + 204 = 312 (100%)
R 0 of 312 ~ 0%
G 108 of 312 ~ 34.62%
B 204 of 312 ~ 65.38%
#006CCC color CMYK value is (100,47,0,20).
CMYK: (100,47,0,20) C100M47Y0K20 (100%,47%,0%,20%) (1.00/0.47/0.00/0.20)
00 | 6C | CC | |
---|---|---|---|
RGB | 0 | 108 | 204 |
HSL | 208° | 100.00% | 40.00% |
HSB/HSV | 208° | 100.00% | 80.00% |
CMYK | 100.00% | 47.06% | 0.00% |
20.00% |
HEX | 00 | 6C | CC |
Decimal | 0 | 108 | 204 |
Binary | 0 | 1101100 | 11001100 |
Octal | 0 | 154 | 314 |
Examples of css and html codes for elements with #006CCC color. Also use rgb(0,108,204) instead hex code.
.myTextColor { color: #006CCC; }
<p style="color:#006CCC">This sample text font color is #006CCC.</p>
This text font color is #006CCC.
.myBgColor { background-color: #006CCC; }
<div style="background-color:#006CCC">Inner text</div>
This div background color is #006CCC.
.myBorderColor { border: 1px solid #006CCC; }
<div style="border:3px solid #006CCC">Div</div>
This div border color is #006CCC.
.myOpacity80 { color: #006CCC; opacity: 0.8; }
<p style="color:#006CCC;opacity:0.8;">80%</p>
Text with #006CCC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #006CCC;}
<p style="text-shadow: 3px 3px 1px #006CCC">Text here.</p>
This text has shadow with #006CCC color.
.textShadow {text-shadow: 3px 3px 1px #006CCC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #006CCC, 5px 5px 20px red">Text here.</p>
This text has shadow with #006CCC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#006CCC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#006CCC, Direction=45, Strength=4)">Text</p>
This text has shadow with #006CCC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #006CCC; -webkit-box-shadow: 1px 1px 3px 2px #006CCC; box-shadow: 1px 1px 3px 2px #006CCC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #006CCC; -webkit-box-shadow: 1px 1px 3px 2px #006CCC; box-shadow:1px 1px 3px 2px #006CCC;">
Div content here</div>
This text has color #006CCC on black background.
This text has color #006CCC on white background.
This text has black color on #006CCC background.
This text has white color on #006CCC background.