HEX: #001B74
RGB: (0,27,116)
#001B74 contains mainly blue color. Web safe color of #001B74 is #003366 (or #036).
#001B74 color RGB value is (0,27,116).
RGB: (0,27,116) (0%,11%,45%)
R 0 of 255 = 0%
G 27 of 255 = 11%
B 116 of 255 = 45%
R + G + B ~ 19%. #001B74 is dark color.
R + G + B =
0 + 27 + 116 = 143 (100%)
R 0 of 143 ~ 0%
G 27 of 143 ~ 18.88%
B 116 of 143 ~ 81.12%
#001B74 color CMYK value is (100,77,0,55).
CMYK: (100,77,0,55) C100M77Y0K55 (100%,77%,0%,55%) (1.00/0.77/0.00/0.55)
00 | 1B | 74 | |
---|---|---|---|
RGB | 0 | 27 | 116 |
HSL | 226° | 100.00% | 22.75% |
HSB/HSV | 226° | 100.00% | 45.49% |
CMYK | 100.00% | 76.72% | 0.00% |
54.51% |
HEX | 00 | 1B | 74 |
Decimal | 0 | 27 | 116 |
Binary | 0 | 11011 | 1110100 |
Octal | 0 | 33 | 164 |
Examples of css and html codes for elements with #001B74 color. Also use rgb(0,27,116) instead hex code.
.myTextColor { color: #001B74; }
<p style="color:#001B74">This sample text font color is #001B74.</p>
This text font color is #001B74.
.myBgColor { background-color: #001B74; }
<div style="background-color:#001B74">Inner text</div>
This div background color is #001B74.
.myBorderColor { border: 1px solid #001B74; }
<div style="border:3px solid #001B74">Div</div>
This div border color is #001B74.
.myOpacity80 { color: #001B74; opacity: 0.8; }
<p style="color:#001B74;opacity:0.8;">80%</p>
Text with #001B74 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #001B74;}
<p style="text-shadow: 3px 3px 1px #001B74">Text here.</p>
This text has shadow with #001B74 color.
.textShadow {text-shadow: 3px 3px 1px #001B74, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #001B74, 5px 5px 20px red">Text here.</p>
This text has shadow with #001B74 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#001B74, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#001B74, Direction=45, Strength=4)">Text</p>
This text has shadow with #001B74 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #001B74; -webkit-box-shadow: 1px 1px 3px 2px #001B74; box-shadow: 1px 1px 3px 2px #001B74; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #001B74; -webkit-box-shadow: 1px 1px 3px 2px #001B74; box-shadow:1px 1px 3px 2px #001B74;">
Div content here</div>
This text has color #001B74 on black background.
This text has color #001B74 on white background.
This text has black color on #001B74 background.
This text has white color on #001B74 background.