HEX: #50C878
RGB: (80,200,120)
#50C878 contains mainly green color. Web safe color of #50C878 is #66CC66 (or #6C6).
#50C878 color RGB value is (80,200,120).
RGB: (80,200,120) (31%,78%,47%)
R 80 of 255 = 31%
G 200 of 255 = 78%
B 120 of 255 = 47%
R + G + B ~ 52%. #50C878 is middle color (not dark and not light).
R + G + B =
80 + 200 + 120 = 400 (100%)
R 80 of 400 ~ 20%
G 200 of 400 ~ 50%
B 120 of 400 ~ 30%
#50C878 color CMYK value is (60,0,40,22).
CMYK: (60,0,40,22) C60M0Y40K22 (60%,0%,40%,22%) (0.60/0.00/0.40/0.22)
50 | C8 | 78 | |
---|---|---|---|
RGB | 80 | 200 | 120 |
HSL | 140° | 52.17% | 54.90% |
HSB/HSV | 140° | 60.00% | 78.43% |
CMYK | 60.00% | 0.00% | 40.00% |
21.57% |
HEX | 50 | C8 | 78 |
Decimal | 80 | 200 | 120 |
Binary | 1010000 | 11001000 | 1111000 |
Octal | 120 | 310 | 170 |
Examples of css and html codes for elements with #50C878 color. Also use rgb(80,200,120) instead hex code.
.myTextColor { color: #50C878; }
<p style="color:#50C878">This sample text font color is #50C878.</p>
This text font color is #50C878.
.myBgColor { background-color: #50C878; }
<div style="background-color:#50C878">Inner text</div>
This div background color is #50C878.
.myBorderColor { border: 1px solid #50C878; }
<div style="border:3px solid #50C878">Div</div>
This div border color is #50C878.
.myOpacity80 { color: #50C878; opacity: 0.8; }
<p style="color:#50C878;opacity:0.8;">80%</p>
Text with #50C878 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50C878;}
<p style="text-shadow: 3px 3px 1px #50C878">Text here.</p>
This text has shadow with #50C878 color.
.textShadow {text-shadow: 3px 3px 1px #50C878, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50C878, 5px 5px 20px red">Text here.</p>
This text has shadow with #50C878 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50C878, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50C878, Direction=45, Strength=4)">Text</p>
This text has shadow with #50C878 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50C878; -webkit-box-shadow: 1px 1px 3px 2px #50C878; box-shadow: 1px 1px 3px 2px #50C878; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50C878; -webkit-box-shadow: 1px 1px 3px 2px #50C878; box-shadow:1px 1px 3px 2px #50C878;">
Div content here</div>
This text has color #50C878 on black background.
This text has color #50C878 on white background.
This text has black color on #50C878 background.
This text has white color on #50C878 background.