HEX: #50791D
RGB: (80,121,29)
#50791D contains mainly red and green colors. Web safe color of #50791D is #666633 (or #663).
#50791D color RGB value is (80,121,29).
RGB: (80,121,29) (31%,47%,11%)
R 80 of 255 = 31%
G 121 of 255 = 47%
B 29 of 255 = 11%
R + G + B ~ 30%. #50791D is quite dark color.
R + G + B =
80 + 121 + 29 = 230 (100%)
R 80 of 230 ~ 34.78%
G 121 of 230 ~ 52.61%
B 29 of 230 ~ 12.61%
#50791D color CMYK value is (34,0,76,53).
CMYK: (34,0,76,53) C34M0Y76K53 (34%,0%,76%,53%) (0.34/0.00/0.76/0.53)
50 | 79 | 1D | |
---|---|---|---|
RGB | 80 | 121 | 29 |
HSL | 87° | 61.33% | 29.41% |
HSB/HSV | 87° | 76.03% | 47.45% |
CMYK | 33.88% | 0.00% | 76.03% |
52.55% |
HEX | 50 | 79 | 1D |
Decimal | 80 | 121 | 29 |
Binary | 1010000 | 1111001 | 11101 |
Octal | 120 | 171 | 35 |
Examples of css and html codes for elements with #50791D color. Also use rgb(80,121,29) instead hex code.
.myTextColor { color: #50791D; }
<p style="color:#50791D">This sample text font color is #50791D.</p>
This text font color is #50791D.
.myBgColor { background-color: #50791D; }
<div style="background-color:#50791D">Inner text</div>
This div background color is #50791D.
.myBorderColor { border: 1px solid #50791D; }
<div style="border:3px solid #50791D">Div</div>
This div border color is #50791D.
.myOpacity80 { color: #50791D; opacity: 0.8; }
<p style="color:#50791D;opacity:0.8;">80%</p>
Text with #50791D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50791D;}
<p style="text-shadow: 3px 3px 1px #50791D">Text here.</p>
This text has shadow with #50791D color.
.textShadow {text-shadow: 3px 3px 1px #50791D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50791D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50791D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50791D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50791D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50791D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50791D; -webkit-box-shadow: 1px 1px 3px 2px #50791D; box-shadow: 1px 1px 3px 2px #50791D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50791D; -webkit-box-shadow: 1px 1px 3px 2px #50791D; box-shadow:1px 1px 3px 2px #50791D;">
Div content here</div>
This text has color #50791D on black background.
This text has color #50791D on white background.
This text has black color on #50791D background.
This text has white color on #50791D background.