HEX: #1B377E
RGB: (27,55,126)
#1B377E contains mainly blue color. Web safe color of #1B377E is #333366 (or #336).
#1B377E color RGB value is (27,55,126).
RGB: (27,55,126) (11%,22%,49%)
R 27 of 255 = 11%
G 55 of 255 = 22%
B 126 of 255 = 49%
R + G + B ~ 27%. #1B377E is quite dark color.
R + G + B =
27 + 55 + 126 = 208 (100%)
R 27 of 208 ~ 12.98%
G 55 of 208 ~ 26.44%
B 126 of 208 ~ 60.58%
#1B377E color CMYK value is (79,56,0,51).
CMYK: (79,56,0,51) C79M56Y0K51 (79%,56%,0%,51%) (0.79/0.56/0.00/0.51)
1B | 37 | 7E | |
---|---|---|---|
RGB | 27 | 55 | 126 |
HSL | 223° | 64.71% | 30.00% |
HSB/HSV | 223° | 78.57% | 49.41% |
CMYK | 78.57% | 56.35% | 0.00% |
50.59% |
HEX | 1B | 37 | 7E |
Decimal | 27 | 55 | 126 |
Binary | 11011 | 110111 | 1111110 |
Octal | 33 | 67 | 176 |
Examples of css and html codes for elements with #1B377E color. Also use rgb(27,55,126) instead hex code.
.myTextColor { color: #1B377E; }
<p style="color:#1B377E">This sample text font color is #1B377E.</p>
This text font color is #1B377E.
.myBgColor { background-color: #1B377E; }
<div style="background-color:#1B377E">Inner text</div>
This div background color is #1B377E.
.myBorderColor { border: 1px solid #1B377E; }
<div style="border:3px solid #1B377E">Div</div>
This div border color is #1B377E.
.myOpacity80 { color: #1B377E; opacity: 0.8; }
<p style="color:#1B377E;opacity:0.8;">80%</p>
Text with #1B377E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #1B377E;}
<p style="text-shadow: 3px 3px 1px #1B377E">Text here.</p>
This text has shadow with #1B377E color.
.textShadow {text-shadow: 3px 3px 1px #1B377E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #1B377E, 5px 5px 20px red">Text here.</p>
This text has shadow with #1B377E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#1B377E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#1B377E, Direction=45, Strength=4)">Text</p>
This text has shadow with #1B377E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #1B377E; -webkit-box-shadow: 1px 1px 3px 2px #1B377E; box-shadow: 1px 1px 3px 2px #1B377E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #1B377E; -webkit-box-shadow: 1px 1px 3px 2px #1B377E; box-shadow:1px 1px 3px 2px #1B377E;">
Div content here</div>
This text has color #1B377E on black background.
This text has color #1B377E on white background.
This text has black color on #1B377E background.
This text has white color on #1B377E background.