HEX: #008CBA
RGB: (0,140,186)
#008CBA contains only green and blue colors. Web safe color of #008CBA is #0099CC (or #09C).
#008CBA color RGB value is (0,140,186).
RGB: (0,140,186) (0%,55%,73%)
R 0 of 255 = 0%
G 140 of 255 = 55%
B 186 of 255 = 73%
R + G + B ~ 43%. #008CBA is middle color (not dark and not light).
R + G + B =
0 + 140 + 186 = 326 (100%)
R 0 of 326 ~ 0%
G 140 of 326 ~ 42.94%
B 186 of 326 ~ 57.06%
#008CBA color CMYK value is (100,25,0,27).
CMYK: (100,25,0,27) C100M25Y0K27 (100%,25%,0%,27%) (1.00/0.25/0.00/0.27)
00 | 8C | BA | |
---|---|---|---|
RGB | 0 | 140 | 186 |
HSL | 195° | 100.00% | 36.47% |
HSB/HSV | 195° | 100.00% | 72.94% |
CMYK | 100.00% | 24.73% | 0.00% |
27.06% |
HEX | 00 | 8C | BA |
Decimal | 0 | 140 | 186 |
Binary | 0 | 10001100 | 10111010 |
Octal | 0 | 214 | 272 |
Examples of css and html codes for elements with #008CBA color. Also use rgb(0,140,186) instead hex code.
.myTextColor { color: #008CBA; }
<p style="color:#008CBA">This sample text font color is #008CBA.</p>
This text font color is #008CBA.
.myBgColor { background-color: #008CBA; }
<div style="background-color:#008CBA">Inner text</div>
This div background color is #008CBA.
.myBorderColor { border: 1px solid #008CBA; }
<div style="border:3px solid #008CBA">Div</div>
This div border color is #008CBA.
.myOpacity80 { color: #008CBA; opacity: 0.8; }
<p style="color:#008CBA;opacity:0.8;">80%</p>
Text with #008CBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #008CBA;}
<p style="text-shadow: 3px 3px 1px #008CBA">Text here.</p>
This text has shadow with #008CBA color.
.textShadow {text-shadow: 3px 3px 1px #008CBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #008CBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #008CBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#008CBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#008CBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #008CBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #008CBA; -webkit-box-shadow: 1px 1px 3px 2px #008CBA; box-shadow: 1px 1px 3px 2px #008CBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #008CBA; -webkit-box-shadow: 1px 1px 3px 2px #008CBA; box-shadow:1px 1px 3px 2px #008CBA;">
Div content here</div>
This text has color #008CBA on black background.
This text has color #008CBA on white background.
This text has black color on #008CBA background.
This text has white color on #008CBA background.