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