HEX: #004BBA
RGB: (0,75,186)
#004BBA contains mainly blue color. Web safe color of #004BBA is #0033CC (or #03C).
#004BBA color RGB value is (0,75,186).
RGB: (0,75,186) (0%,29%,73%)
R 0 of 255 = 0%
G 75 of 255 = 29%
B 186 of 255 = 73%
R + G + B ~ 34%. #004BBA is quite dark color.
R + G + B =
0 + 75 + 186 = 261 (100%)
R 0 of 261 ~ 0%
G 75 of 261 ~ 28.74%
B 186 of 261 ~ 71.26%
#004BBA color CMYK value is (100,60,0,27).
CMYK: (100,60,0,27) C100M60Y0K27 (100%,60%,0%,27%) (1.00/0.60/0.00/0.27)
00 | 4B | BA | |
---|---|---|---|
RGB | 0 | 75 | 186 |
HSL | 216° | 100.00% | 36.47% |
HSB/HSV | 216° | 100.00% | 72.94% |
CMYK | 100.00% | 59.68% | 0.00% |
27.06% |
HEX | 00 | 4B | BA |
Decimal | 0 | 75 | 186 |
Binary | 0 | 1001011 | 10111010 |
Octal | 0 | 113 | 272 |
Examples of css and html codes for elements with #004BBA color. Also use rgb(0,75,186) instead hex code.
.myTextColor { color: #004BBA; }
<p style="color:#004BBA">This sample text font color is #004BBA.</p>
This text font color is #004BBA.
.myBgColor { background-color: #004BBA; }
<div style="background-color:#004BBA">Inner text</div>
This div background color is #004BBA.
.myBorderColor { border: 1px solid #004BBA; }
<div style="border:3px solid #004BBA">Div</div>
This div border color is #004BBA.
.myOpacity80 { color: #004BBA; opacity: 0.8; }
<p style="color:#004BBA;opacity:0.8;">80%</p>
Text with #004BBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #004BBA;}
<p style="text-shadow: 3px 3px 1px #004BBA">Text here.</p>
This text has shadow with #004BBA color.
.textShadow {text-shadow: 3px 3px 1px #004BBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #004BBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #004BBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#004BBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#004BBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #004BBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #004BBA; -webkit-box-shadow: 1px 1px 3px 2px #004BBA; box-shadow: 1px 1px 3px 2px #004BBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #004BBA; -webkit-box-shadow: 1px 1px 3px 2px #004BBA; box-shadow:1px 1px 3px 2px #004BBA;">
Div content here</div>
This text has color #004BBA on black background.
This text has color #004BBA on white background.
This text has black color on #004BBA background.
This text has white color on #004BBA background.