HEX: #50715D
RGB: (80,113,93)
#50715D contains red, green and blue colors in about the same proportion. Web safe color of #50715D is #666666 (or #666).
#50715D color RGB value is (80,113,93).
RGB: (80,113,93) (31%,44%,36%)
R 80 of 255 = 31%
G 113 of 255 = 44%
B 93 of 255 = 36%
R + G + B ~ 37%. #50715D is quite dark color.
R + G + B =
80 + 113 + 93 = 286 (100%)
R 80 of 286 ~ 27.97%
G 113 of 286 ~ 39.51%
B 93 of 286 ~ 32.52%
#50715D color CMYK value is (29,0,18,56).
CMYK: (29,0,18,56) C29M0Y18K56 (29%,0%,18%,56%) (0.29/0.00/0.18/0.56)
50 | 71 | 5D | |
---|---|---|---|
RGB | 80 | 113 | 93 |
HSL | 144° | 17.10% | 37.84% |
HSB/HSV | 144° | 29.20% | 44.31% |
CMYK | 29.20% | 0.00% | 17.70% |
55.69% |
HEX | 50 | 71 | 5D |
Decimal | 80 | 113 | 93 |
Binary | 1010000 | 1110001 | 1011101 |
Octal | 120 | 161 | 135 |
Examples of css and html codes for elements with #50715D color. Also use rgb(80,113,93) instead hex code.
.myTextColor { color: #50715D; }
<p style="color:#50715D">This sample text font color is #50715D.</p>
This text font color is #50715D.
.myBgColor { background-color: #50715D; }
<div style="background-color:#50715D">Inner text</div>
This div background color is #50715D.
.myBorderColor { border: 1px solid #50715D; }
<div style="border:3px solid #50715D">Div</div>
This div border color is #50715D.
.myOpacity80 { color: #50715D; opacity: 0.8; }
<p style="color:#50715D;opacity:0.8;">80%</p>
Text with #50715D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50715D;}
<p style="text-shadow: 3px 3px 1px #50715D">Text here.</p>
This text has shadow with #50715D color.
.textShadow {text-shadow: 3px 3px 1px #50715D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50715D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50715D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50715D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50715D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50715D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50715D; -webkit-box-shadow: 1px 1px 3px 2px #50715D; box-shadow: 1px 1px 3px 2px #50715D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50715D; -webkit-box-shadow: 1px 1px 3px 2px #50715D; box-shadow:1px 1px 3px 2px #50715D;">
Div content here</div>
This text has color #50715D on black background.
This text has color #50715D on white background.
This text has black color on #50715D background.
This text has white color on #50715D background.