HEX: #509351
RGB: (80,147,81)
#509351 contains mainly green color. Web safe color of #509351 is #669966 (or #696).
#509351 color RGB value is (80,147,81).
RGB: (80,147,81) (31%,58%,32%)
R 80 of 255 = 31%
G 147 of 255 = 58%
B 81 of 255 = 32%
R + G + B ~ 40%. #509351 is middle color (not dark and not light).
R + G + B =
80 + 147 + 81 = 308 (100%)
R 80 of 308 ~ 25.97%
G 147 of 308 ~ 47.73%
B 81 of 308 ~ 26.3%
#509351 color CMYK value is (46,0,45,42).
CMYK: (46,0,45,42) C46M0Y45K42 (46%,0%,45%,42%) (0.46/0.00/0.45/0.42)
50 | 93 | 51 | |
---|---|---|---|
RGB | 80 | 147 | 81 |
HSL | 121° | 29.52% | 44.51% |
HSB/HSV | 121° | 45.58% | 57.65% |
CMYK | 45.58% | 0.00% | 44.90% |
42.35% |
HEX | 50 | 93 | 51 |
Decimal | 80 | 147 | 81 |
Binary | 1010000 | 10010011 | 1010001 |
Octal | 120 | 223 | 121 |
Examples of css and html codes for elements with #509351 color. Also use rgb(80,147,81) instead hex code.
.myTextColor { color: #509351; }
<p style="color:#509351">This sample text font color is #509351.</p>
This text font color is #509351.
.myBgColor { background-color: #509351; }
<div style="background-color:#509351">Inner text</div>
This div background color is #509351.
.myBorderColor { border: 1px solid #509351; }
<div style="border:3px solid #509351">Div</div>
This div border color is #509351.
.myOpacity80 { color: #509351; opacity: 0.8; }
<p style="color:#509351;opacity:0.8;">80%</p>
Text with #509351 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #509351;}
<p style="text-shadow: 3px 3px 1px #509351">Text here.</p>
This text has shadow with #509351 color.
.textShadow {text-shadow: 3px 3px 1px #509351, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #509351, 5px 5px 20px red">Text here.</p>
This text has shadow with #509351 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#509351, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#509351, Direction=45, Strength=4)">Text</p>
This text has shadow with #509351 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #509351; -webkit-box-shadow: 1px 1px 3px 2px #509351; box-shadow: 1px 1px 3px 2px #509351; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #509351; -webkit-box-shadow: 1px 1px 3px 2px #509351; box-shadow:1px 1px 3px 2px #509351;">
Div content here</div>
This text has color #509351 on black background.
This text has color #509351 on white background.
This text has black color on #509351 background.
This text has white color on #509351 background.