HEX: #50499E
RGB: (80,73,158)
#50499E contains mainly blue color. Web safe color of #50499E is #663399 (or #639).
#50499E color RGB value is (80,73,158).
RGB: (80,73,158) (31%,29%,62%)
R 80 of 255 = 31%
G 73 of 255 = 29%
B 158 of 255 = 62%
R + G + B ~ 41%. #50499E is middle color (not dark and not light).
R + G + B =
80 + 73 + 158 = 311 (100%)
R 80 of 311 ~ 25.72%
G 73 of 311 ~ 23.47%
B 158 of 311 ~ 50.8%
#50499E color CMYK value is (49,54,0,38).
CMYK: (49,54,0,38) C49M54Y0K38 (49%,54%,0%,38%) (0.49/0.54/0.00/0.38)
50 | 49 | 9E | |
---|---|---|---|
RGB | 80 | 73 | 158 |
HSL | 245° | 36.80% | 45.29% |
HSB/HSV | 245° | 53.80% | 61.96% |
CMYK | 49.37% | 53.80% | 0.00% |
38.04% |
HEX | 50 | 49 | 9E |
Decimal | 80 | 73 | 158 |
Binary | 1010000 | 1001001 | 10011110 |
Octal | 120 | 111 | 236 |
Examples of css and html codes for elements with #50499E color. Also use rgb(80,73,158) instead hex code.
.myTextColor { color: #50499E; }
<p style="color:#50499E">This sample text font color is #50499E.</p>
This text font color is #50499E.
.myBgColor { background-color: #50499E; }
<div style="background-color:#50499E">Inner text</div>
This div background color is #50499E.
.myBorderColor { border: 1px solid #50499E; }
<div style="border:3px solid #50499E">Div</div>
This div border color is #50499E.
.myOpacity80 { color: #50499E; opacity: 0.8; }
<p style="color:#50499E;opacity:0.8;">80%</p>
Text with #50499E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50499E;}
<p style="text-shadow: 3px 3px 1px #50499E">Text here.</p>
This text has shadow with #50499E color.
.textShadow {text-shadow: 3px 3px 1px #50499E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50499E, 5px 5px 20px red">Text here.</p>
This text has shadow with #50499E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50499E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50499E, Direction=45, Strength=4)">Text</p>
This text has shadow with #50499E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50499E; -webkit-box-shadow: 1px 1px 3px 2px #50499E; box-shadow: 1px 1px 3px 2px #50499E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50499E; -webkit-box-shadow: 1px 1px 3px 2px #50499E; box-shadow:1px 1px 3px 2px #50499E;">
Div content here</div>
This text has color #50499E on black background.
This text has color #50499E on white background.
This text has black color on #50499E background.
This text has white color on #50499E background.