HEX: #509C5F
RGB: (80,156,95)
#509C5F contains mainly green color. Web safe color of #509C5F is #669966 (or #696).
#509C5F color RGB value is (80,156,95).
RGB: (80,156,95)
(31%, 61%, 37%)
R 80 of 255 = 31%
G 156 of 255 = 61%
B 95 of 255 = 37%
R + G + B ~ 43%. #509C5F is middle color (not dark and not light).
R + G + B = 80 + 156 + 95 = 331 (100%)
R 80 of 331 ~ 24.17%
G 156 of 331 ~ 47.13%
B 95 of 331 ~ 28.7'%
#509C5F color CMYK value is (49,0,39,39).
CMYK: (49,0,39,39)
C49M0Y39K39 (49%, 0%, 39%, 39%)
(0.49 / 0.00 / 0.39 / 0.39)
Color #509C5F in popluar color models
50 | 9C | 5F | |
---|---|---|---|
RGB | 80 | 156 | 95 |
HSL | 132° | 32.20% | 46.27% |
HSB/HSV | 132° | 48.72% | 61.18% |
CMYK | 48.72% | 0.00% | 39.10% |
38.82% |
Color #509C5F in popluar number systems.
HEX | 50 | 9C | 5F |
Decimal | 80 | 156 | 95 |
Binary | 1010000 | 10011100 | 1011111 |
Octal | 120 | 234 | 137 |
Shades of #509C5F
Tints of #509C5F
Examples of css and html codes for elements with #509C5F color. Also use rgb(80,156,95) instead hex code.
.myTextColor { color: #509C5F; }
<p style="color:#509C5F">This sample text font color is #509C5F.</p>
This text font color is #509C5F.
.myBgColor { background-color: #509C5F; }
<div style="background-color:#509C5F">Inner text</div>
This div background color is #509C5F.
.myBorderColor { border: 1px solid #509C5F; }
<div style="border:3px solid #509C5F">Div</div>
This div border color is #509C5F.
.myOpacity80 { color: #509C5F; opacity: 0.8; }
<p style="color:#509C5F;opacity:0.8;">80%</p>
Text with #509C5F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509C5F;}
<p style="text-shadow: 3px 3px 1px #509C5F">Text here.</p>
This text has shadow with #509C5F color.
.textShadow {text-shadow: 3px 3px 1px #509C5F', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509C5F, 5px 5px 20px red">Text here.</p>
This text has shadow with #509C5F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509C5F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509C5F, Direction=45, Strength=4)">Text</p>
This text has shadow with #509C5F and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #509C5F;
-webkit-box-shadow: 1px 1px 3px 2px #509C5F;
box-shadow: 1px 1px 3px 2px #509C5F;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #509C5F; -webkit-box-shadow: 1px 1px 3px 2px #509C5F; box-shadow:1px 1px 3px 2px #509C5F;">
Div content here
</div>
This text has color #509C5F on black background.
This text has color #509C5F on white background.
This text has black color on #509C5F background.
This text has white color on #509C5F background.
Complementary color for #hex is #AF63A0.