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