HEX: #50706E
RGB: (80,112,110)
#50706E contains red, green and blue colors in about the same proportion. Web safe color of #50706E is #666666 (or #666).
#50706E color RGB value is (80,112,110).
RGB: (80,112,110) (31%,44%,43%)
R 80 of 255 = 31%
G 112 of 255 = 44%
B 110 of 255 = 43%
R + G + B ~ 39%. #50706E is quite dark color.
R + G + B =
80 + 112 + 110 = 302 (100%)
R 80 of 302 ~ 26.49%
G 112 of 302 ~ 37.09%
B 110 of 302 ~ 36.42%
#50706E color CMYK value is (29,0,2,56).
CMYK: (29,0,2,56) C29M0Y2K56 (29%,0%,2%,56%) (0.29/0.00/0.02/0.56)
50 | 70 | 6E | |
---|---|---|---|
RGB | 80 | 112 | 110 |
HSL | 176° | 16.67% | 37.65% |
HSB/HSV | 176° | 28.57% | 43.92% |
CMYK | 28.57% | 0.00% | 1.79% |
56.08% |
HEX | 50 | 70 | 6E |
Decimal | 80 | 112 | 110 |
Binary | 1010000 | 1110000 | 1101110 |
Octal | 120 | 160 | 156 |
Examples of css and html codes for elements with #50706E color. Also use rgb(80,112,110) instead hex code.
.myTextColor { color: #50706E; }
<p style="color:#50706E">This sample text font color is #50706E.</p>
This text font color is #50706E.
.myBgColor { background-color: #50706E; }
<div style="background-color:#50706E">Inner text</div>
This div background color is #50706E.
.myBorderColor { border: 1px solid #50706E; }
<div style="border:3px solid #50706E">Div</div>
This div border color is #50706E.
.myOpacity80 { color: #50706E; opacity: 0.8; }
<p style="color:#50706E;opacity:0.8;">80%</p>
Text with #50706E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50706E;}
<p style="text-shadow: 3px 3px 1px #50706E">Text here.</p>
This text has shadow with #50706E color.
.textShadow {text-shadow: 3px 3px 1px #50706E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50706E, 5px 5px 20px red">Text here.</p>
This text has shadow with #50706E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50706E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50706E, Direction=45, Strength=4)">Text</p>
This text has shadow with #50706E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50706E; -webkit-box-shadow: 1px 1px 3px 2px #50706E; box-shadow: 1px 1px 3px 2px #50706E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50706E; -webkit-box-shadow: 1px 1px 3px 2px #50706E; box-shadow:1px 1px 3px 2px #50706E;">
Div content here</div>
This text has color #50706E on black background.
This text has color #50706E on white background.
This text has black color on #50706E background.
This text has white color on #50706E background.