HEX: #509331
RGB: (80,147,49)
#509331 contains mainly green color. Web safe color of #509331 is #669933 (or #693).
#509331 color RGB value is (80,147,49).
RGB: (80,147,49) (31%,58%,19%)
R 80 of 255 = 31%
G 147 of 255 = 58%
B 49 of 255 = 19%
R + G + B ~ 36%. #509331 is quite dark color.
R + G + B =
80 + 147 + 49 = 276 (100%)
R 80 of 276 ~ 28.99%
G 147 of 276 ~ 53.26%
B 49 of 276 ~ 17.75%
#509331 color CMYK value is (46,0,67,42).
CMYK: (46,0,67,42) C46M0Y67K42 (46%,0%,67%,42%) (0.46/0.00/0.67/0.42)
50 | 93 | 31 | |
---|---|---|---|
RGB | 80 | 147 | 49 |
HSL | 101° | 50.00% | 38.43% |
HSB/HSV | 101° | 66.67% | 57.65% |
CMYK | 45.58% | 0.00% | 66.67% |
42.35% |
HEX | 50 | 93 | 31 |
Decimal | 80 | 147 | 49 |
Binary | 1010000 | 10010011 | 110001 |
Octal | 120 | 223 | 61 |
Examples of css and html codes for elements with #509331 color. Also use rgb(80,147,49) instead hex code.
.myTextColor { color: #509331; }
<p style="color:#509331">This sample text font color is #509331.</p>
This text font color is #509331.
.myBgColor { background-color: #509331; }
<div style="background-color:#509331">Inner text</div>
This div background color is #509331.
.myBorderColor { border: 1px solid #509331; }
<div style="border:3px solid #509331">Div</div>
This div border color is #509331.
.myOpacity80 { color: #509331; opacity: 0.8; }
<p style="color:#509331;opacity:0.8;">80%</p>
Text with #509331 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509331;}
<p style="text-shadow: 3px 3px 1px #509331">Text here.</p>
This text has shadow with #509331 color.
.textShadow {text-shadow: 3px 3px 1px #509331, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509331, 5px 5px 20px red">Text here.</p>
This text has shadow with #509331 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509331, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509331, Direction=45, Strength=4)">Text</p>
This text has shadow with #509331 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509331; -webkit-box-shadow: 1px 1px 3px 2px #509331; box-shadow: 1px 1px 3px 2px #509331; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509331; -webkit-box-shadow: 1px 1px 3px 2px #509331; box-shadow:1px 1px 3px 2px #509331;">
Div content here</div>
This text has color #509331 on black background.
This text has color #509331 on white background.
This text has black color on #509331 background.
This text has white color on #509331 background.