HEX: #4D7ABA
RGB: (77,122,186)
#4D7ABA contains mainly blue color. Web safe color of #4D7ABA is #3366CC (or #36C).
#4D7ABA color RGB value is (77,122,186).
RGB: (77,122,186) (30%,48%,73%)
R 77 of 255 = 30%
G 122 of 255 = 48%
B 186 of 255 = 73%
R + G + B ~ 50%. #4D7ABA is middle color (not dark and not light).
R + G + B =
77 + 122 + 186 = 385 (100%)
R 77 of 385 ~ 20%
G 122 of 385 ~ 31.69%
B 186 of 385 ~ 48.31%
#4D7ABA color CMYK value is (59,34,0,27).
CMYK: (59,34,0,27) C59M34Y0K27 (59%,34%,0%,27%) (0.59/0.34/0.00/0.27)
4D | 7A | BA | |
---|---|---|---|
RGB | 77 | 122 | 186 |
HSL | 215° | 44.13% | 51.57% |
HSB/HSV | 215° | 58.60% | 72.94% |
CMYK | 58.60% | 34.41% | 0.00% |
27.06% |
HEX | 4D | 7A | BA |
Decimal | 77 | 122 | 186 |
Binary | 1001101 | 1111010 | 10111010 |
Octal | 115 | 172 | 272 |
Examples of css and html codes for elements with #4D7ABA color. Also use rgb(77,122,186) instead hex code.
.myTextColor { color: #4D7ABA; }
<p style="color:#4D7ABA">This sample text font color is #4D7ABA.</p>
This text font color is #4D7ABA.
.myBgColor { background-color: #4D7ABA; }
<div style="background-color:#4D7ABA">Inner text</div>
This div background color is #4D7ABA.
.myBorderColor { border: 1px solid #4D7ABA; }
<div style="border:3px solid #4D7ABA">Div</div>
This div border color is #4D7ABA.
.myOpacity80 { color: #4D7ABA; opacity: 0.8; }
<p style="color:#4D7ABA;opacity:0.8;">80%</p>
Text with #4D7ABA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D7ABA;}
<p style="text-shadow: 3px 3px 1px #4D7ABA">Text here.</p>
This text has shadow with #4D7ABA color.
.textShadow {text-shadow: 3px 3px 1px #4D7ABA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D7ABA, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D7ABA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D7ABA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D7ABA, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D7ABA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D7ABA; -webkit-box-shadow: 1px 1px 3px 2px #4D7ABA; box-shadow: 1px 1px 3px 2px #4D7ABA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D7ABA; -webkit-box-shadow: 1px 1px 3px 2px #4D7ABA; box-shadow:1px 1px 3px 2px #4D7ABA;">
Div content here</div>
This text has color #4D7ABA on black background.
This text has color #4D7ABA on white background.
This text has black color on #4D7ABA background.
This text has white color on #4D7ABA background.