HEX: #509F5B
RGB: (80,159,91)
#509F5B contains mainly green color. Web safe color of #509F5B is #669966 (or #696).
#509F5B color RGB value is (80,159,91).
RGB: (80,159,91)
(31%, 62%, 36%)
R 80 of 255 = 31%
G 159 of 255 = 62%
B 91 of 255 = 36%
R + G + B ~ 43%. #509F5B is middle color (not dark and not light).
R + G + B = 80 + 159 + 91 = 330 (100%)
R 80 of 330 ~ 24.24%
G 159 of 330 ~ 48.18%
B 91 of 330 ~ 27.58'%
#509F5B color CMYK value is (50,0,43,38).
CMYK: (50,0,43,38) C50M0Y43K38 (50%,0%,43%,38%) (0.50/0.00/0.43/0.38)
Color #509F5B in popluar color models
50 | 9F | 5B | |
---|---|---|---|
RGB | 80 | 159 | 91 |
HSL | 128° | 33.05% | 46.86% |
HSB/HSV | 128° | 49.69% | 62.35% |
CMYK | 49.69% | 0.00% | 42.77% |
37.65% |
Color #509F5B in popluar number systems.
HEX | 50 | 9F | 5B |
Decimal | 80 | 159 | 91 |
Binary | 1010000 | 10011111 | 1011011 |
Octal | 120 | 237 | 133 |
Shades of #509F5B
Tints of #509F5B
Examples of css and html codes for elements with #509F5B color. Also use rgb(80,159,91) instead hex code.
.myTextColor { color: #509F5B; }
<p style="color:#509F5B">This sample text font color is #509F5B.</p>
This text font color is #509F5B.
.myBgColor { background-color: #509F5B; }
<div style="background-color:#509F5B">Inner text</div>
This div background color is #509F5B.
.myBorderColor { border: 1px solid #509F5B; }
<div style="border:3px solid #509F5B">Div</div>
This div border color is #509F5B.
.myOpacity80 { color: #509F5B; opacity: 0.8; }
<p style="color:#509F5B;opacity:0.8;">80%</p>
Text with #509F5B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509F5B;}
<p style="text-shadow: 3px 3px 1px #509F5B">Text here.</p>
This text has shadow with #509F5B color.
.textShadow {text-shadow: 3px 3px 1px #509F5B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509F5B, 5px 5px 20px red">Text here.</p>
This text has shadow with #509F5B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509F5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509F5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #509F5B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #509F5B;
-webkit-box-shadow: 1px 1px 3px 2px #509F5B;
box-shadow: 1px 1px 3px 2px #509F5B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #509F5B; -webkit-box-shadow: 1px 1px 3px 2px #509F5B; box-shadow:1px 1px 3px 2px #509F5B;">
Div content here
</div>
This text has color #509F5B on black background.
This text has color #509F5B on white background.
This text has black color on #509F5B background.
This text has white color on #509F5B background.
Complementary color for #hex is #AF60A4.