HEX: #50415E
RGB: (80,65,94)
#50415E contains red, green and blue colors in about the same proportion. Web safe color of #50415E is #663366 (or #636).
#50415E color RGB value is (80,65,94).
RGB: (80,65,94) (31%,25%,37%)
R 80 of 255 = 31%
G 65 of 255 = 25%
B 94 of 255 = 37%
R + G + B ~ 31%. #50415E is quite dark color.
R + G + B =
80 + 65 + 94 = 239 (100%)
R 80 of 239 ~ 33.47%
G 65 of 239 ~ 27.2%
B 94 of 239 ~ 39.33%
#50415E color CMYK value is (15,31,0,63).
CMYK: (15,31,0,63) C15M31Y0K63 (15%,31%,0%,63%) (0.15/0.31/0.00/0.63)
50 | 41 | 5E | |
---|---|---|---|
RGB | 80 | 65 | 94 |
HSL | 271° | 18.24% | 31.18% |
HSB/HSV | 271° | 30.85% | 36.86% |
CMYK | 14.89% | 30.85% | 0.00% |
63.14% |
HEX | 50 | 41 | 5E |
Decimal | 80 | 65 | 94 |
Binary | 1010000 | 1000001 | 1011110 |
Octal | 120 | 101 | 136 |
Examples of css and html codes for elements with #50415E color. Also use rgb(80,65,94) instead hex code.
.myTextColor { color: #50415E; }
<p style="color:#50415E">This sample text font color is #50415E.</p>
This text font color is #50415E.
.myBgColor { background-color: #50415E; }
<div style="background-color:#50415E">Inner text</div>
This div background color is #50415E.
.myBorderColor { border: 1px solid #50415E; }
<div style="border:3px solid #50415E">Div</div>
This div border color is #50415E.
.myOpacity80 { color: #50415E; opacity: 0.8; }
<p style="color:#50415E;opacity:0.8;">80%</p>
Text with #50415E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50415E;}
<p style="text-shadow: 3px 3px 1px #50415E">Text here.</p>
This text has shadow with #50415E color.
.textShadow {text-shadow: 3px 3px 1px #50415E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50415E, 5px 5px 20px red">Text here.</p>
This text has shadow with #50415E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50415E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50415E, Direction=45, Strength=4)">Text</p>
This text has shadow with #50415E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50415E; -webkit-box-shadow: 1px 1px 3px 2px #50415E; box-shadow: 1px 1px 3px 2px #50415E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50415E; -webkit-box-shadow: 1px 1px 3px 2px #50415E; box-shadow:1px 1px 3px 2px #50415E;">
Div content here</div>
This text has color #50415E on black background.
This text has color #50415E on white background.
This text has black color on #50415E background.
This text has white color on #50415E background.