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