HEX: #509D30
RGB: (80,157,48)
#509D30 contains mainly green color. Web safe color of #509D30 is #669933 (or #693).
#509D30 color RGB value is (80,157,48).
RGB: (80,157,48)
(31%, 62%, 19%)
R 80 of 255 = 31%
G 157 of 255 = 62%
B 48 of 255 = 19%
R + G + B ~ 37%. #509D30 is quite dark color.
R + G + B = 80 + 157 + 48 = 285 (100%)
R 80 of 285 ~ 28.07%
G 157 of 285 ~ 55.09%
B 48 of 285 ~ 16.84'%
#509D30 color CMYK value is (49,0,69,38).
CMYK: (49,0,69,38)
C49M0Y69K38 (49%, 0%, 69%, 38%)
(0.49 / 0.00 / 0.69 / 0.38)
Color #509D30 in popluar color models
50 | 9D | 30 | |
---|---|---|---|
RGB | 80 | 157 | 48 |
HSL | 102° | 53.17% | 40.20% |
HSB/HSV | 102° | 69.43% | 61.57% |
CMYK | 49.04% | 0.00% | 69.43% |
38.43% |
Color #509D30 in popluar number systems.
HEX | 50 | 9D | 30 |
Decimal | 80 | 157 | 48 |
Binary | 1010000 | 10011101 | 110000 |
Octal | 120 | 235 | 60 |
Shades of #509D30
Tints of #509D30
Examples of css and html codes for elements with #509D30 color. Also use rgb(80,157,48) instead hex code.
.myTextColor { color: #509D30; }
<p style="color:#509D30">This sample text font color is #509D30.</p>
This text font color is #509D30.
.myBgColor { background-color: #509D30; }
<div style="background-color:#509D30">Inner text</div>
This div background color is #509D30.
.myBorderColor { border: 1px solid #509D30; }
<div style="border:3px solid #509D30">Div</div>
This div border color is #509D30.
.myOpacity80 { color: #509D30; opacity: 0.8; }
<p style="color:#509D30;opacity:0.8;">80%</p>
Text with #509D30 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509D30;}
<p style="text-shadow: 3px 3px 1px #509D30">Text here.</p>
This text has shadow with #509D30 color.
.textShadow {text-shadow: 3px 3px 1px #509D30', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509D30, 5px 5px 20px red">Text here.</p>
This text has shadow with #509D30 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509D30, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509D30, Direction=45, Strength=4)">Text</p>
This text has shadow with #509D30 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #509D30;
-webkit-box-shadow: 1px 1px 3px 2px #509D30;
box-shadow: 1px 1px 3px 2px #509D30;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #509D30; -webkit-box-shadow: 1px 1px 3px 2px #509D30; box-shadow:1px 1px 3px 2px #509D30;">
Div content here
</div>
This text has color #509D30 on black background.
This text has color #509D30 on white background.
This text has black color on #509D30 background.
This text has white color on #509D30 background.
Complementary color for #hex is #AF62CF.