HEX: #50662F
RGB: (80,102,47)
#50662F contains red, green and blue colors in about the same proportion. Web safe color of #50662F is #666633 (or #663).
#50662F color RGB value is (80,102,47).
RGB: (80,102,47) (31%,40%,18%)
R 80 of 255 = 31%
G 102 of 255 = 40%
B 47 of 255 = 18%
R + G + B ~ 30%. #50662F is quite dark color.
R + G + B =
80 + 102 + 47 = 229 (100%)
R 80 of 229 ~ 34.93%
G 102 of 229 ~ 44.54%
B 47 of 229 ~ 20.52%
#50662F color CMYK value is (22,0,54,60).
CMYK: (22,0,54,60) C22M0Y54K60 (22%,0%,54%,60%) (0.22/0.00/0.54/0.60)
50 | 66 | 2F | |
---|---|---|---|
RGB | 80 | 102 | 47 |
HSL | 84° | 36.91% | 29.22% |
HSB/HSV | 84° | 53.92% | 40.00% |
CMYK | 21.57% | 0.00% | 53.92% |
60.00% |
HEX | 50 | 66 | 2F |
Decimal | 80 | 102 | 47 |
Binary | 1010000 | 1100110 | 101111 |
Octal | 120 | 146 | 57 |
Examples of css and html codes for elements with #50662F color. Also use rgb(80,102,47) instead hex code.
.myTextColor { color: #50662F; }
<p style="color:#50662F">This sample text font color is #50662F.</p>
This text font color is #50662F.
.myBgColor { background-color: #50662F; }
<div style="background-color:#50662F">Inner text</div>
This div background color is #50662F.
.myBorderColor { border: 1px solid #50662F; }
<div style="border:3px solid #50662F">Div</div>
This div border color is #50662F.
.myOpacity80 { color: #50662F; opacity: 0.8; }
<p style="color:#50662F;opacity:0.8;">80%</p>
Text with #50662F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50662F;}
<p style="text-shadow: 3px 3px 1px #50662F">Text here.</p>
This text has shadow with #50662F color.
.textShadow {text-shadow: 3px 3px 1px #50662F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50662F, 5px 5px 20px red">Text here.</p>
This text has shadow with #50662F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50662F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50662F, Direction=45, Strength=4)">Text</p>
This text has shadow with #50662F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50662F; -webkit-box-shadow: 1px 1px 3px 2px #50662F; box-shadow: 1px 1px 3px 2px #50662F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50662F; -webkit-box-shadow: 1px 1px 3px 2px #50662F; box-shadow:1px 1px 3px 2px #50662F;">
Div content here</div>
This text has color #50662F on black background.
This text has color #50662F on white background.
This text has black color on #50662F background.
This text has white color on #50662F background.