HEX: #50597E
RGB: (80,89,126)
#50597E contains red, green and blue colors in about the same proportion. Web safe color of #50597E is #666666 (or #666).
#50597E color RGB value is (80,89,126).
RGB: (80,89,126) (31%,35%,49%)
R 80 of 255 = 31%
G 89 of 255 = 35%
B 126 of 255 = 49%
R + G + B ~ 38%. #50597E is quite dark color.
R + G + B =
80 + 89 + 126 = 295 (100%)
R 80 of 295 ~ 27.12%
G 89 of 295 ~ 30.17%
B 126 of 295 ~ 42.71%
#50597E color CMYK value is (37,29,0,51).
CMYK: (37,29,0,51) C37M29Y0K51 (37%,29%,0%,51%) (0.37/0.29/0.00/0.51)
50 | 59 | 7E | |
---|---|---|---|
RGB | 80 | 89 | 126 |
HSL | 228° | 22.33% | 40.39% |
HSB/HSV | 228° | 36.51% | 49.41% |
CMYK | 36.51% | 29.37% | 0.00% |
50.59% |
HEX | 50 | 59 | 7E |
Decimal | 80 | 89 | 126 |
Binary | 1010000 | 1011001 | 1111110 |
Octal | 120 | 131 | 176 |
Examples of css and html codes for elements with #50597E color. Also use rgb(80,89,126) instead hex code.
.myTextColor { color: #50597E; }
<p style="color:#50597E">This sample text font color is #50597E.</p>
This text font color is #50597E.
.myBgColor { background-color: #50597E; }
<div style="background-color:#50597E">Inner text</div>
This div background color is #50597E.
.myBorderColor { border: 1px solid #50597E; }
<div style="border:3px solid #50597E">Div</div>
This div border color is #50597E.
.myOpacity80 { color: #50597E; opacity: 0.8; }
<p style="color:#50597E;opacity:0.8;">80%</p>
Text with #50597E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50597E;}
<p style="text-shadow: 3px 3px 1px #50597E">Text here.</p>
This text has shadow with #50597E color.
.textShadow {text-shadow: 3px 3px 1px #50597E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50597E, 5px 5px 20px red">Text here.</p>
This text has shadow with #50597E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50597E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50597E, Direction=45, Strength=4)">Text</p>
This text has shadow with #50597E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50597E; -webkit-box-shadow: 1px 1px 3px 2px #50597E; box-shadow: 1px 1px 3px 2px #50597E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50597E; -webkit-box-shadow: 1px 1px 3px 2px #50597E; box-shadow:1px 1px 3px 2px #50597E;">
Div content here</div>
This text has color #50597E on black background.
This text has color #50597E on white background.
This text has black color on #50597E background.
This text has white color on #50597E background.