HEX: #4B5EBA
RGB: (75,94,186)
#4B5EBA contains mainly blue color. Web safe color of #4B5EBA is #3366CC (or #36C).
#4B5EBA color RGB value is (75,94,186).
RGB: (75,94,186) (29%,37%,73%)
R 75 of 255 = 29%
G 94 of 255 = 37%
B 186 of 255 = 73%
R + G + B ~ 46%. #4B5EBA is middle color (not dark and not light).
R + G + B =
75 + 94 + 186 = 355 (100%)
R 75 of 355 ~ 21.13%
G 94 of 355 ~ 26.48%
B 186 of 355 ~ 52.39%
#4B5EBA color CMYK value is (60,49,0,27).
CMYK: (60,49,0,27) C60M49Y0K27 (60%,49%,0%,27%) (0.60/0.49/0.00/0.27)
4B | 5E | BA | |
---|---|---|---|
RGB | 75 | 94 | 186 |
HSL | 230° | 44.58% | 51.18% |
HSB/HSV | 230° | 59.68% | 72.94% |
CMYK | 59.68% | 49.46% | 0.00% |
27.06% |
HEX | 4B | 5E | BA |
Decimal | 75 | 94 | 186 |
Binary | 1001011 | 1011110 | 10111010 |
Octal | 113 | 136 | 272 |
Examples of css and html codes for elements with #4B5EBA color. Also use rgb(75,94,186) instead hex code.
.myTextColor { color: #4B5EBA; }
<p style="color:#4B5EBA">This sample text font color is #4B5EBA.</p>
This text font color is #4B5EBA.
.myBgColor { background-color: #4B5EBA; }
<div style="background-color:#4B5EBA">Inner text</div>
This div background color is #4B5EBA.
.myBorderColor { border: 1px solid #4B5EBA; }
<div style="border:3px solid #4B5EBA">Div</div>
This div border color is #4B5EBA.
.myOpacity80 { color: #4B5EBA; opacity: 0.8; }
<p style="color:#4B5EBA;opacity:0.8;">80%</p>
Text with #4B5EBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4B5EBA;}
<p style="text-shadow: 3px 3px 1px #4B5EBA">Text here.</p>
This text has shadow with #4B5EBA color.
.textShadow {text-shadow: 3px 3px 1px #4B5EBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4B5EBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #4B5EBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4B5EBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4B5EBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #4B5EBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4B5EBA; -webkit-box-shadow: 1px 1px 3px 2px #4B5EBA; box-shadow: 1px 1px 3px 2px #4B5EBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4B5EBA; -webkit-box-shadow: 1px 1px 3px 2px #4B5EBA; box-shadow:1px 1px 3px 2px #4B5EBA;">
Div content here</div>
This text has color #4B5EBA on black background.
This text has color #4B5EBA on white background.
This text has black color on #4B5EBA background.
This text has white color on #4B5EBA background.