HEX: #4E498F
RGB: (78,73,143)
#4E498F contains mainly blue color. Web safe color of #4E498F is #663399 (or #639).
#4E498F color RGB value is (78,73,143).
RGB: (78,73,143) (31%,29%,56%)
R 78 of 255 = 31%
G 73 of 255 = 29%
B 143 of 255 = 56%
R + G + B ~ 39%. #4E498F is quite dark color.
R + G + B =
78 + 73 + 143 = 294 (100%)
R 78 of 294 ~ 26.53%
G 73 of 294 ~ 24.83%
B 143 of 294 ~ 48.64%
#4E498F color CMYK value is (45,49,0,44).
CMYK: (45,49,0,44) C45M49Y0K44 (45%,49%,0%,44%) (0.45/0.49/0.00/0.44)
4E | 49 | 8F | |
---|---|---|---|
RGB | 78 | 73 | 143 |
HSL | 244° | 32.41% | 42.35% |
HSB/HSV | 244° | 48.95% | 56.08% |
CMYK | 45.45% | 48.95% | 0.00% |
43.92% |
HEX | 4E | 49 | 8F |
Decimal | 78 | 73 | 143 |
Binary | 1001110 | 1001001 | 10001111 |
Octal | 116 | 111 | 217 |
Examples of css and html codes for elements with #4E498F color. Also use rgb(78,73,143) instead hex code.
.myTextColor { color: #4E498F; }
<p style="color:#4E498F">This sample text font color is #4E498F.</p>
This text font color is #4E498F.
.myBgColor { background-color: #4E498F; }
<div style="background-color:#4E498F">Inner text</div>
This div background color is #4E498F.
.myBorderColor { border: 1px solid #4E498F; }
<div style="border:3px solid #4E498F">Div</div>
This div border color is #4E498F.
.myOpacity80 { color: #4E498F; opacity: 0.8; }
<p style="color:#4E498F;opacity:0.8;">80%</p>
Text with #4E498F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4E498F;}
<p style="text-shadow: 3px 3px 1px #4E498F">Text here.</p>
This text has shadow with #4E498F color.
.textShadow {text-shadow: 3px 3px 1px #4E498F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4E498F, 5px 5px 20px red">Text here.</p>
This text has shadow with #4E498F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4E498F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4E498F, Direction=45, Strength=4)">Text</p>
This text has shadow with #4E498F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4E498F; -webkit-box-shadow: 1px 1px 3px 2px #4E498F; box-shadow: 1px 1px 3px 2px #4E498F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4E498F; -webkit-box-shadow: 1px 1px 3px 2px #4E498F; box-shadow:1px 1px 3px 2px #4E498F;">
Div content here</div>
This text has color #4E498F on black background.
This text has color #4E498F on white background.
This text has black color on #4E498F background.
This text has white color on #4E498F background.