HEX: #50566E
RGB: (80,86,110)
#50566E contains red, green and blue colors in about the same proportion. Web safe color of #50566E is #666666 (or #666).
#50566E color RGB value is (80,86,110).
RGB: (80,86,110) (31%,34%,43%)
R 80 of 255 = 31%
G 86 of 255 = 34%
B 110 of 255 = 43%
R + G + B ~ 36%. #50566E is quite dark color.
R + G + B =
80 + 86 + 110 = 276 (100%)
R 80 of 276 ~ 28.99%
G 86 of 276 ~ 31.16%
B 110 of 276 ~ 39.86%
#50566E color CMYK value is (27,22,0,57).
CMYK: (27,22,0,57) C27M22Y0K57 (27%,22%,0%,57%) (0.27/0.22/0.00/0.57)
50 | 56 | 6E | |
---|---|---|---|
RGB | 80 | 86 | 110 |
HSL | 228° | 15.79% | 37.25% |
HSB/HSV | 228° | 27.27% | 43.14% |
CMYK | 27.27% | 21.82% | 0.00% |
56.86% |
HEX | 50 | 56 | 6E |
Decimal | 80 | 86 | 110 |
Binary | 1010000 | 1010110 | 1101110 |
Octal | 120 | 126 | 156 |
Examples of css and html codes for elements with #50566E color. Also use rgb(80,86,110) instead hex code.
.myTextColor { color: #50566E; }
<p style="color:#50566E">This sample text font color is #50566E.</p>
This text font color is #50566E.
.myBgColor { background-color: #50566E; }
<div style="background-color:#50566E">Inner text</div>
This div background color is #50566E.
.myBorderColor { border: 1px solid #50566E; }
<div style="border:3px solid #50566E">Div</div>
This div border color is #50566E.
.myOpacity80 { color: #50566E; opacity: 0.8; }
<p style="color:#50566E;opacity:0.8;">80%</p>
Text with #50566E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50566E;}
<p style="text-shadow: 3px 3px 1px #50566E">Text here.</p>
This text has shadow with #50566E color.
.textShadow {text-shadow: 3px 3px 1px #50566E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50566E, 5px 5px 20px red">Text here.</p>
This text has shadow with #50566E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50566E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50566E, Direction=45, Strength=4)">Text</p>
This text has shadow with #50566E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50566E; -webkit-box-shadow: 1px 1px 3px 2px #50566E; box-shadow: 1px 1px 3px 2px #50566E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50566E; -webkit-box-shadow: 1px 1px 3px 2px #50566E; box-shadow:1px 1px 3px 2px #50566E;">
Div content here</div>
This text has color #50566E on black background.
This text has color #50566E on white background.
This text has black color on #50566E background.
This text has white color on #50566E background.