HEX: #50741D
RGB: (80,116,29)
#50741D contains mainly red and green colors. Web safe color of #50741D is #666633 (or #663).
#50741D color RGB value is (80,116,29).
RGB: (80,116,29) (31%,45%,11%)
R 80 of 255 = 31%
G 116 of 255 = 45%
B 29 of 255 = 11%
R + G + B ~ 29%. #50741D is quite dark color.
R + G + B =
80 + 116 + 29 = 225 (100%)
R 80 of 225 ~ 35.56%
G 116 of 225 ~ 51.56%
B 29 of 225 ~ 12.89%
#50741D color CMYK value is (31,0,75,55).
CMYK: (31,0,75,55) C31M0Y75K55 (31%,0%,75%,55%) (0.31/0.00/0.75/0.55)
50 | 74 | 1D | |
---|---|---|---|
RGB | 80 | 116 | 29 |
HSL | 85° | 60.00% | 28.43% |
HSB/HSV | 85° | 75.00% | 45.49% |
CMYK | 31.03% | 0.00% | 75.00% |
54.51% |
HEX | 50 | 74 | 1D |
Decimal | 80 | 116 | 29 |
Binary | 1010000 | 1110100 | 11101 |
Octal | 120 | 164 | 35 |
Examples of css and html codes for elements with #50741D color. Also use rgb(80,116,29) instead hex code.
.myTextColor { color: #50741D; }
<p style="color:#50741D">This sample text font color is #50741D.</p>
This text font color is #50741D.
.myBgColor { background-color: #50741D; }
<div style="background-color:#50741D">Inner text</div>
This div background color is #50741D.
.myBorderColor { border: 1px solid #50741D; }
<div style="border:3px solid #50741D">Div</div>
This div border color is #50741D.
.myOpacity80 { color: #50741D; opacity: 0.8; }
<p style="color:#50741D;opacity:0.8;">80%</p>
Text with #50741D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50741D;}
<p style="text-shadow: 3px 3px 1px #50741D">Text here.</p>
This text has shadow with #50741D color.
.textShadow {text-shadow: 3px 3px 1px #50741D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50741D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50741D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50741D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50741D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50741D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50741D; -webkit-box-shadow: 1px 1px 3px 2px #50741D; box-shadow: 1px 1px 3px 2px #50741D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50741D; -webkit-box-shadow: 1px 1px 3px 2px #50741D; box-shadow:1px 1px 3px 2px #50741D;">
Div content here</div>
This text has color #50741D on black background.
This text has color #50741D on white background.
This text has black color on #50741D background.
This text has white color on #50741D background.