HEX: #50754E
RGB: (80,117,78)
#50754E contains red, green and blue colors in about the same proportion. Web safe color of #50754E is #666666 (or #666).
#50754E color RGB value is (80,117,78).
RGB: (80,117,78) (31%,46%,31%)
R 80 of 255 = 31%
G 117 of 255 = 46%
B 78 of 255 = 31%
R + G + B ~ 36%. #50754E is quite dark color.
R + G + B =
80 + 117 + 78 = 275 (100%)
R 80 of 275 ~ 29.09%
G 117 of 275 ~ 42.55%
B 78 of 275 ~ 28.36%
#50754E color CMYK value is (32,0,33,54).
CMYK: (32,0,33,54) C32M0Y33K54 (32%,0%,33%,54%) (0.32/0.00/0.33/0.54)
50 | 75 | 4E | |
---|---|---|---|
RGB | 80 | 117 | 78 |
HSL | 117° | 20.00% | 38.24% |
HSB/HSV | 117° | 33.33% | 45.88% |
CMYK | 31.62% | 0.00% | 33.33% |
54.12% |
HEX | 50 | 75 | 4E |
Decimal | 80 | 117 | 78 |
Binary | 1010000 | 1110101 | 1001110 |
Octal | 120 | 165 | 116 |
Examples of css and html codes for elements with #50754E color. Also use rgb(80,117,78) instead hex code.
.myTextColor { color: #50754E; }
<p style="color:#50754E">This sample text font color is #50754E.</p>
This text font color is #50754E.
.myBgColor { background-color: #50754E; }
<div style="background-color:#50754E">Inner text</div>
This div background color is #50754E.
.myBorderColor { border: 1px solid #50754E; }
<div style="border:3px solid #50754E">Div</div>
This div border color is #50754E.
.myOpacity80 { color: #50754E; opacity: 0.8; }
<p style="color:#50754E;opacity:0.8;">80%</p>
Text with #50754E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50754E;}
<p style="text-shadow: 3px 3px 1px #50754E">Text here.</p>
This text has shadow with #50754E color.
.textShadow {text-shadow: 3px 3px 1px #50754E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50754E, 5px 5px 20px red">Text here.</p>
This text has shadow with #50754E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50754E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50754E, Direction=45, Strength=4)">Text</p>
This text has shadow with #50754E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50754E; -webkit-box-shadow: 1px 1px 3px 2px #50754E; box-shadow: 1px 1px 3px 2px #50754E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50754E; -webkit-box-shadow: 1px 1px 3px 2px #50754E; box-shadow:1px 1px 3px 2px #50754E;">
Div content here</div>
This text has color #50754E on black background.
This text has color #50754E on white background.
This text has black color on #50754E background.
This text has white color on #50754E background.