HEX: #001B9D
RGB: (0,27,157)
#001B9D contains mainly blue color. Web safe color of #001B9D is #003399 (or #039).
#001B9D color RGB value is (0,27,157).
RGB: (0,27,157) (0%,11%,62%)
R 0 of 255 = 0%
G 27 of 255 = 11%
B 157 of 255 = 62%
R + G + B ~ 24%. #001B9D is dark color.
R + G + B =
0 + 27 + 157 = 184 (100%)
R 0 of 184 ~ 0%
G 27 of 184 ~ 14.67%
B 157 of 184 ~ 85.33%
#001B9D color CMYK value is (100,83,0,38).
CMYK: (100,83,0,38) C100M83Y0K38 (100%,83%,0%,38%) (1.00/0.83/0.00/0.38)
00 | 1B | 9D | |
---|---|---|---|
RGB | 0 | 27 | 157 |
HSL | 230° | 100.00% | 30.78% |
HSB/HSV | 230° | 100.00% | 61.57% |
CMYK | 100.00% | 82.80% | 0.00% |
38.43% |
HEX | 00 | 1B | 9D |
Decimal | 0 | 27 | 157 |
Binary | 0 | 11011 | 10011101 |
Octal | 0 | 33 | 235 |
Examples of css and html codes for elements with #001B9D color. Also use rgb(0,27,157) instead hex code.
.myTextColor { color: #001B9D; }
<p style="color:#001B9D">This sample text font color is #001B9D.</p>
This text font color is #001B9D.
.myBgColor { background-color: #001B9D; }
<div style="background-color:#001B9D">Inner text</div>
This div background color is #001B9D.
.myBorderColor { border: 1px solid #001B9D; }
<div style="border:3px solid #001B9D">Div</div>
This div border color is #001B9D.
.myOpacity80 { color: #001B9D; opacity: 0.8; }
<p style="color:#001B9D;opacity:0.8;">80%</p>
Text with #001B9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #001B9D;}
<p style="text-shadow: 3px 3px 1px #001B9D">Text here.</p>
This text has shadow with #001B9D color.
.textShadow {text-shadow: 3px 3px 1px #001B9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #001B9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #001B9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#001B9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#001B9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #001B9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #001B9D; -webkit-box-shadow: 1px 1px 3px 2px #001B9D; box-shadow: 1px 1px 3px 2px #001B9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #001B9D; -webkit-box-shadow: 1px 1px 3px 2px #001B9D; box-shadow:1px 1px 3px 2px #001B9D;">
Div content here</div>
This text has color #001B9D on black background.
This text has color #001B9D on white background.
This text has black color on #001B9D background.
This text has white color on #001B9D background.