HEX: #50821C
RGB: (80,130,28)
#50821C contains mainly red and green colors. Web safe color of #50821C is #669933 (or #693).
#50821C color RGB value is (80,130,28).
RGB: (80,130,28) (31%,51%,11%)
R 80 of 255 = 31%
G 130 of 255 = 51%
B 28 of 255 = 11%
R + G + B ~ 31%. #50821C is quite dark color.
R + G + B =
80 + 130 + 28 = 238 (100%)
R 80 of 238 ~ 33.61%
G 130 of 238 ~ 54.62%
B 28 of 238 ~ 11.76%
#50821C color CMYK value is (38,0,78,49).
CMYK: (38,0,78,49) C38M0Y78K49 (38%,0%,78%,49%) (0.38/0.00/0.78/0.49)
50 | 82 | 1C | |
---|---|---|---|
RGB | 80 | 130 | 28 |
HSL | 89° | 64.56% | 30.98% |
HSB/HSV | 89° | 78.46% | 50.98% |
CMYK | 38.46% | 0.00% | 78.46% |
49.02% |
HEX | 50 | 82 | 1C |
Decimal | 80 | 130 | 28 |
Binary | 1010000 | 10000010 | 11100 |
Octal | 120 | 202 | 34 |
Examples of css and html codes for elements with #50821C color. Also use rgb(80,130,28) instead hex code.
.myTextColor { color: #50821C; }
<p style="color:#50821C">This sample text font color is #50821C.</p>
This text font color is #50821C.
.myBgColor { background-color: #50821C; }
<div style="background-color:#50821C">Inner text</div>
This div background color is #50821C.
.myBorderColor { border: 1px solid #50821C; }
<div style="border:3px solid #50821C">Div</div>
This div border color is #50821C.
.myOpacity80 { color: #50821C; opacity: 0.8; }
<p style="color:#50821C;opacity:0.8;">80%</p>
Text with #50821C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50821C;}
<p style="text-shadow: 3px 3px 1px #50821C">Text here.</p>
This text has shadow with #50821C color.
.textShadow {text-shadow: 3px 3px 1px #50821C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50821C, 5px 5px 20px red">Text here.</p>
This text has shadow with #50821C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50821C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50821C, Direction=45, Strength=4)">Text</p>
This text has shadow with #50821C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50821C; -webkit-box-shadow: 1px 1px 3px 2px #50821C; box-shadow: 1px 1px 3px 2px #50821C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50821C; -webkit-box-shadow: 1px 1px 3px 2px #50821C; box-shadow:1px 1px 3px 2px #50821C;">
Div content here</div>
This text has color #50821C on black background.
This text has color #50821C on white background.
This text has black color on #50821C background.
This text has white color on #50821C background.