HEX: #0B4ECC
RGB: (11,78,204)
#0B4ECC contains mainly blue color. Web safe color of #0B4ECC is #0066CC (or #06C).
#0B4ECC color RGB value is (11,78,204).
RGB: (11,78,204) (4%,31%,80%)
R 11 of 255 = 4%
G 78 of 255 = 31%
B 204 of 255 = 80%
R + G + B ~ 38%. #0B4ECC is quite dark color.
R + G + B =
11 + 78 + 204 = 293 (100%)
R 11 of 293 ~ 3.75%
G 78 of 293 ~ 26.62%
B 204 of 293 ~ 69.62%
#0B4ECC color CMYK value is (95,62,0,20).
CMYK: (95,62,0,20) C95M62Y0K20 (95%,62%,0%,20%) (0.95/0.62/0.00/0.20)
0B | 4E | CC | |
---|---|---|---|
RGB | 11 | 78 | 204 |
HSL | 219° | 89.77% | 42.16% |
HSB/HSV | 219° | 94.61% | 80.00% |
CMYK | 94.61% | 61.76% | 0.00% |
20.00% |
HEX | 0B | 4E | CC |
Decimal | 11 | 78 | 204 |
Binary | 1011 | 1001110 | 11001100 |
Octal | 13 | 116 | 314 |
Examples of css and html codes for elements with #0B4ECC color. Also use rgb(11,78,204) instead hex code.
.myTextColor { color: #0B4ECC; }
<p style="color:#0B4ECC">This sample text font color is #0B4ECC.</p>
This text font color is #0B4ECC.
.myBgColor { background-color: #0B4ECC; }
<div style="background-color:#0B4ECC">Inner text</div>
This div background color is #0B4ECC.
.myBorderColor { border: 1px solid #0B4ECC; }
<div style="border:3px solid #0B4ECC">Div</div>
This div border color is #0B4ECC.
.myOpacity80 { color: #0B4ECC; opacity: 0.8; }
<p style="color:#0B4ECC;opacity:0.8;">80%</p>
Text with #0B4ECC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0B4ECC;}
<p style="text-shadow: 3px 3px 1px #0B4ECC">Text here.</p>
This text has shadow with #0B4ECC color.
.textShadow {text-shadow: 3px 3px 1px #0B4ECC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0B4ECC, 5px 5px 20px red">Text here.</p>
This text has shadow with #0B4ECC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0B4ECC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0B4ECC, Direction=45, Strength=4)">Text</p>
This text has shadow with #0B4ECC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0B4ECC; -webkit-box-shadow: 1px 1px 3px 2px #0B4ECC; box-shadow: 1px 1px 3px 2px #0B4ECC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0B4ECC; -webkit-box-shadow: 1px 1px 3px 2px #0B4ECC; box-shadow:1px 1px 3px 2px #0B4ECC;">
Div content here</div>
This text has color #0B4ECC on black background.
This text has color #0B4ECC on white background.
This text has black color on #0B4ECC background.
This text has white color on #0B4ECC background.