HEX: #0B387A
RGB: (11,56,122)
#0B387A contains mainly blue color. Web safe color of #0B387A is #003366 (or #036).
#0B387A color RGB value is (11,56,122).
RGB: (11,56,122) (4%,22%,48%)
R 11 of 255 = 4%
G 56 of 255 = 22%
B 122 of 255 = 48%
R + G + B ~ 25%. #0B387A is quite dark color.
R + G + B =
11 + 56 + 122 = 189 (100%)
R 11 of 189 ~ 5.82%
G 56 of 189 ~ 29.63%
B 122 of 189 ~ 64.55%
#0B387A color CMYK value is (91,54,0,52).
CMYK: (91,54,0,52) C91M54Y0K52 (91%,54%,0%,52%) (0.91/0.54/0.00/0.52)
0B | 38 | 7A | |
---|---|---|---|
RGB | 11 | 56 | 122 |
HSL | 216° | 83.46% | 26.08% |
HSB/HSV | 216° | 90.98% | 47.84% |
CMYK | 90.98% | 54.10% | 0.00% |
52.16% |
HEX | 0B | 38 | 7A |
Decimal | 11 | 56 | 122 |
Binary | 1011 | 111000 | 1111010 |
Octal | 13 | 70 | 172 |
Examples of css and html codes for elements with #0B387A color. Also use rgb(11,56,122) instead hex code.
.myTextColor { color: #0B387A; }
<p style="color:#0B387A">This sample text font color is #0B387A.</p>
This text font color is #0B387A.
.myBgColor { background-color: #0B387A; }
<div style="background-color:#0B387A">Inner text</div>
This div background color is #0B387A.
.myBorderColor { border: 1px solid #0B387A; }
<div style="border:3px solid #0B387A">Div</div>
This div border color is #0B387A.
.myOpacity80 { color: #0B387A; opacity: 0.8; }
<p style="color:#0B387A;opacity:0.8;">80%</p>
Text with #0B387A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0B387A;}
<p style="text-shadow: 3px 3px 1px #0B387A">Text here.</p>
This text has shadow with #0B387A color.
.textShadow {text-shadow: 3px 3px 1px #0B387A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0B387A, 5px 5px 20px red">Text here.</p>
This text has shadow with #0B387A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0B387A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0B387A, Direction=45, Strength=4)">Text</p>
This text has shadow with #0B387A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0B387A; -webkit-box-shadow: 1px 1px 3px 2px #0B387A; box-shadow: 1px 1px 3px 2px #0B387A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0B387A; -webkit-box-shadow: 1px 1px 3px 2px #0B387A; box-shadow:1px 1px 3px 2px #0B387A;">
Div content here</div>
This text has color #0B387A on black background.
This text has color #0B387A on white background.
This text has black color on #0B387A background.
This text has white color on #0B387A background.