HEX: #50704A
RGB: (80,112,74)
#50704A contains red, green and blue colors in about the same proportion. Web safe color of #50704A is #666633 (or #663).
#50704A color RGB value is (80,112,74).
RGB: (80,112,74) (31%,44%,29%)
R 80 of 255 = 31%
G 112 of 255 = 44%
B 74 of 255 = 29%
R + G + B ~ 35%. #50704A is quite dark color.
R + G + B =
80 + 112 + 74 = 266 (100%)
R 80 of 266 ~ 30.08%
G 112 of 266 ~ 42.11%
B 74 of 266 ~ 27.82%
#50704A color CMYK value is (29,0,34,56).
CMYK: (29,0,34,56) C29M0Y34K56 (29%,0%,34%,56%) (0.29/0.00/0.34/0.56)
50 | 70 | 4A | |
---|---|---|---|
RGB | 80 | 112 | 74 |
HSL | 111° | 20.43% | 36.47% |
HSB/HSV | 111° | 33.93% | 43.92% |
CMYK | 28.57% | 0.00% | 33.93% |
56.08% |
HEX | 50 | 70 | 4A |
Decimal | 80 | 112 | 74 |
Binary | 1010000 | 1110000 | 1001010 |
Octal | 120 | 160 | 112 |
Examples of css and html codes for elements with #50704A color. Also use rgb(80,112,74) instead hex code.
.myTextColor { color: #50704A; }
<p style="color:#50704A">This sample text font color is #50704A.</p>
This text font color is #50704A.
.myBgColor { background-color: #50704A; }
<div style="background-color:#50704A">Inner text</div>
This div background color is #50704A.
.myBorderColor { border: 1px solid #50704A; }
<div style="border:3px solid #50704A">Div</div>
This div border color is #50704A.
.myOpacity80 { color: #50704A; opacity: 0.8; }
<p style="color:#50704A;opacity:0.8;">80%</p>
Text with #50704A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50704A;}
<p style="text-shadow: 3px 3px 1px #50704A">Text here.</p>
This text has shadow with #50704A color.
.textShadow {text-shadow: 3px 3px 1px #50704A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50704A, 5px 5px 20px red">Text here.</p>
This text has shadow with #50704A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50704A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50704A, Direction=45, Strength=4)">Text</p>
This text has shadow with #50704A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50704A; -webkit-box-shadow: 1px 1px 3px 2px #50704A; box-shadow: 1px 1px 3px 2px #50704A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50704A; -webkit-box-shadow: 1px 1px 3px 2px #50704A; box-shadow:1px 1px 3px 2px #50704A;">
Div content here</div>
This text has color #50704A on black background.
This text has color #50704A on white background.
This text has black color on #50704A background.
This text has white color on #50704A background.