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