HEX: #50976C
RGB: (80,151,108)
#50976C contains mainly green and blue colors. Web safe color of #50976C is #669966 (or #696).
#50976C color RGB value is (80,151,108).
RGB: (80,151,108) (31%,59%,42%)
R 80 of 255 = 31%
G 151 of 255 = 59%
B 108 of 255 = 42%
R + G + B ~ 44%. #50976C is middle color (not dark and not light).
R + G + B =
80 + 151 + 108 = 339 (100%)
R 80 of 339 ~ 23.6%
G 151 of 339 ~ 44.54%
B 108 of 339 ~ 31.86%
#50976C color CMYK value is (47,0,28,41).
CMYK: (47,0,28,41) C47M0Y28K41 (47%,0%,28%,41%) (0.47/0.00/0.28/0.41)
50 | 97 | 6C | |
---|---|---|---|
RGB | 80 | 151 | 108 |
HSL | 144° | 30.74% | 45.29% |
HSB/HSV | 144° | 47.02% | 59.22% |
CMYK | 47.02% | 0.00% | 28.48% |
40.78% |
HEX | 50 | 97 | 6C |
Decimal | 80 | 151 | 108 |
Binary | 1010000 | 10010111 | 1101100 |
Octal | 120 | 227 | 154 |
Examples of css and html codes for elements with #50976C color. Also use rgb(80,151,108) instead hex code.
.myTextColor { color: #50976C; }
<p style="color:#50976C">This sample text font color is #50976C.</p>
This text font color is #50976C.
.myBgColor { background-color: #50976C; }
<div style="background-color:#50976C">Inner text</div>
This div background color is #50976C.
.myBorderColor { border: 1px solid #50976C; }
<div style="border:3px solid #50976C">Div</div>
This div border color is #50976C.
.myOpacity80 { color: #50976C; opacity: 0.8; }
<p style="color:#50976C;opacity:0.8;">80%</p>
Text with #50976C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50976C;}
<p style="text-shadow: 3px 3px 1px #50976C">Text here.</p>
This text has shadow with #50976C color.
.textShadow {text-shadow: 3px 3px 1px #50976C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50976C, 5px 5px 20px red">Text here.</p>
This text has shadow with #50976C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50976C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50976C, Direction=45, Strength=4)">Text</p>
This text has shadow with #50976C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50976C; -webkit-box-shadow: 1px 1px 3px 2px #50976C; box-shadow: 1px 1px 3px 2px #50976C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50976C; -webkit-box-shadow: 1px 1px 3px 2px #50976C; box-shadow:1px 1px 3px 2px #50976C;">
Div content here</div>
This text has color #50976C on black background.
This text has color #50976C on white background.
This text has black color on #50976C background.
This text has white color on #50976C background.