HEX: #50804E
RGB: (80,128,78)
#50804E contains red, green and blue colors in about the same proportion. Web safe color of #50804E is #666666 (or #666).
#50804E color RGB value is (80,128,78).
RGB: (80,128,78) (31%,50%,31%)
R 80 of 255 = 31%
G 128 of 255 = 50%
B 78 of 255 = 31%
R + G + B ~ 37%. #50804E is quite dark color.
R + G + B =
80 + 128 + 78 = 286 (100%)
R 80 of 286 ~ 27.97%
G 128 of 286 ~ 44.76%
B 78 of 286 ~ 27.27%
#50804E color CMYK value is (38,0,39,50).
CMYK: (38,0,39,50) C38M0Y39K50 (38%,0%,39%,50%) (0.38/0.00/0.39/0.50)
50 | 80 | 4E | |
---|---|---|---|
RGB | 80 | 128 | 78 |
HSL | 118° | 24.27% | 40.39% |
HSB/HSV | 118° | 39.06% | 50.20% |
CMYK | 37.50% | 0.00% | 39.06% |
49.80% |
HEX | 50 | 80 | 4E |
Decimal | 80 | 128 | 78 |
Binary | 1010000 | 10000000 | 1001110 |
Octal | 120 | 200 | 116 |
Examples of css and html codes for elements with #50804E color. Also use rgb(80,128,78) instead hex code.
.myTextColor { color: #50804E; }
<p style="color:#50804E">This sample text font color is #50804E.</p>
This text font color is #50804E.
.myBgColor { background-color: #50804E; }
<div style="background-color:#50804E">Inner text</div>
This div background color is #50804E.
.myBorderColor { border: 1px solid #50804E; }
<div style="border:3px solid #50804E">Div</div>
This div border color is #50804E.
.myOpacity80 { color: #50804E; opacity: 0.8; }
<p style="color:#50804E;opacity:0.8;">80%</p>
Text with #50804E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50804E;}
<p style="text-shadow: 3px 3px 1px #50804E">Text here.</p>
This text has shadow with #50804E color.
.textShadow {text-shadow: 3px 3px 1px #50804E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50804E, 5px 5px 20px red">Text here.</p>
This text has shadow with #50804E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50804E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50804E, Direction=45, Strength=4)">Text</p>
This text has shadow with #50804E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50804E; -webkit-box-shadow: 1px 1px 3px 2px #50804E; box-shadow: 1px 1px 3px 2px #50804E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50804E; -webkit-box-shadow: 1px 1px 3px 2px #50804E; box-shadow:1px 1px 3px 2px #50804E;">
Div content here</div>
This text has color #50804E on black background.
This text has color #50804E on white background.
This text has black color on #50804E background.
This text has white color on #50804E background.