HEX: #4E7AAB
RGB: (78,122,171)
#4E7AAB contains mainly green and blue colors. Web safe color of #4E7AAB is #666699 (or #669).
#4E7AAB color RGB value is (78,122,171).
RGB: (78,122,171) (31%,48%,67%)
R 78 of 255 = 31%
G 122 of 255 = 48%
B 171 of 255 = 67%
R + G + B ~ 49%. #4E7AAB is middle color (not dark and not light).
R + G + B =
78 + 122 + 171 = 371 (100%)
R 78 of 371 ~ 21.02%
G 122 of 371 ~ 32.88%
B 171 of 371 ~ 46.09%
#4E7AAB color CMYK value is (54,29,0,33).
CMYK: (54,29,0,33) C54M29Y0K33 (54%,29%,0%,33%) (0.54/0.29/0.00/0.33)
4E | 7A | AB | |
---|---|---|---|
RGB | 78 | 122 | 171 |
HSL | 212° | 37.35% | 48.82% |
HSB/HSV | 212° | 54.39% | 67.06% |
CMYK | 54.39% | 28.65% | 0.00% |
32.94% |
HEX | 4E | 7A | AB |
Decimal | 78 | 122 | 171 |
Binary | 1001110 | 1111010 | 10101011 |
Octal | 116 | 172 | 253 |
Examples of css and html codes for elements with #4E7AAB color. Also use rgb(78,122,171) instead hex code.
.myTextColor { color: #4E7AAB; }
<p style="color:#4E7AAB">This sample text font color is #4E7AAB.</p>
This text font color is #4E7AAB.
.myBgColor { background-color: #4E7AAB; }
<div style="background-color:#4E7AAB">Inner text</div>
This div background color is #4E7AAB.
.myBorderColor { border: 1px solid #4E7AAB; }
<div style="border:3px solid #4E7AAB">Div</div>
This div border color is #4E7AAB.
.myOpacity80 { color: #4E7AAB; opacity: 0.8; }
<p style="color:#4E7AAB;opacity:0.8;">80%</p>
Text with #4E7AAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E7AAB;}
<p style="text-shadow: 3px 3px 1px #4E7AAB">Text here.</p>
This text has shadow with #4E7AAB color.
.textShadow {text-shadow: 3px 3px 1px #4E7AAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E7AAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E7AAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E7AAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E7AAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E7AAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E7AAB; -webkit-box-shadow: 1px 1px 3px 2px #4E7AAB; box-shadow: 1px 1px 3px 2px #4E7AAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E7AAB; -webkit-box-shadow: 1px 1px 3px 2px #4E7AAB; box-shadow:1px 1px 3px 2px #4E7AAB;">
Div content here</div>
This text has color #4E7AAB on black background.
This text has color #4E7AAB on white background.
This text has black color on #4E7AAB background.
This text has white color on #4E7AAB background.