HEX: #509D58
RGB: (80,157,88)
#509D58 contains mainly green color. Web safe color of #509D58 is #669966 (or #696).
#509D58 color RGB value is (80,157,88).
RGB: (80,157,88) (31%,62%,35%)
R 80 of 255 = 31%
G 157 of 255 = 62%
B 88 of 255 = 35%
R + G + B ~ 43%. #509D58 is middle color (not dark and not light).
R + G + B =
80 + 157 + 88 = 325 (100%)
R 80 of 325 ~ 24.62%
G 157 of 325 ~ 48.31%
B 88 of 325 ~ 27.08%
#509D58 color CMYK value is (49,0,44,38).
CMYK: (49,0,44,38) C49M0Y44K38 (49%,0%,44%,38%) (0.49/0.00/0.44/0.38)
50 | 9D | 58 | |
---|---|---|---|
RGB | 80 | 157 | 88 |
HSL | 126° | 32.49% | 46.47% |
HSB/HSV | 126° | 49.04% | 61.57% |
CMYK | 49.04% | 0.00% | 43.95% |
38.43% |
HEX | 50 | 9D | 58 |
Decimal | 80 | 157 | 88 |
Binary | 1010000 | 10011101 | 1011000 |
Octal | 120 | 235 | 130 |
Examples of css and html codes for elements with #509D58 color. Also use rgb(80,157,88) instead hex code.
.myTextColor { color: #509D58; }
<p style="color:#509D58">This sample text font color is #509D58.</p>
This text font color is #509D58.
.myBgColor { background-color: #509D58; }
<div style="background-color:#509D58">Inner text</div>
This div background color is #509D58.
.myBorderColor { border: 1px solid #509D58; }
<div style="border:3px solid #509D58">Div</div>
This div border color is #509D58.
.myOpacity80 { color: #509D58; opacity: 0.8; }
<p style="color:#509D58;opacity:0.8;">80%</p>
Text with #509D58 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509D58;}
<p style="text-shadow: 3px 3px 1px #509D58">Text here.</p>
This text has shadow with #509D58 color.
.textShadow {text-shadow: 3px 3px 1px #509D58, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509D58, 5px 5px 20px red">Text here.</p>
This text has shadow with #509D58 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509D58, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509D58, Direction=45, Strength=4)">Text</p>
This text has shadow with #509D58 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509D58; -webkit-box-shadow: 1px 1px 3px 2px #509D58; box-shadow: 1px 1px 3px 2px #509D58; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509D58; -webkit-box-shadow: 1px 1px 3px 2px #509D58; box-shadow:1px 1px 3px 2px #509D58;">
Div content here</div>
This text has color #509D58 on black background.
This text has color #509D58 on white background.
This text has black color on #509D58 background.
This text has white color on #509D58 background.