HEX: #507A57
RGB: (80,122,87)
#507A57 contains red, green and blue colors in about the same proportion. Web safe color of #507A57 is #666666 (or #666).
#507A57 color RGB value is (80,122,87).
RGB: (80,122,87) (31%,48%,34%)
R 80 of 255 = 31%
G 122 of 255 = 48%
B 87 of 255 = 34%
R + G + B ~ 38%. #507A57 is quite dark color.
R + G + B =
80 + 122 + 87 = 289 (100%)
R 80 of 289 ~ 27.68%
G 122 of 289 ~ 42.21%
B 87 of 289 ~ 30.1%
#507A57 color CMYK value is (34,0,29,52).
CMYK: (34,0,29,52) C34M0Y29K52 (34%,0%,29%,52%) (0.34/0.00/0.29/0.52)
50 | 7A | 57 | |
---|---|---|---|
RGB | 80 | 122 | 87 |
HSL | 130° | 20.79% | 39.61% |
HSB/HSV | 130° | 34.43% | 47.84% |
CMYK | 34.43% | 0.00% | 28.69% |
52.16% |
HEX | 50 | 7A | 57 |
Decimal | 80 | 122 | 87 |
Binary | 1010000 | 1111010 | 1010111 |
Octal | 120 | 172 | 127 |
Examples of css and html codes for elements with #507A57 color. Also use rgb(80,122,87) instead hex code.
.myTextColor { color: #507A57; }
<p style="color:#507A57">This sample text font color is #507A57.</p>
This text font color is #507A57.
.myBgColor { background-color: #507A57; }
<div style="background-color:#507A57">Inner text</div>
This div background color is #507A57.
.myBorderColor { border: 1px solid #507A57; }
<div style="border:3px solid #507A57">Div</div>
This div border color is #507A57.
.myOpacity80 { color: #507A57; opacity: 0.8; }
<p style="color:#507A57;opacity:0.8;">80%</p>
Text with #507A57 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507A57;}
<p style="text-shadow: 3px 3px 1px #507A57">Text here.</p>
This text has shadow with #507A57 color.
.textShadow {text-shadow: 3px 3px 1px #507A57, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507A57, 5px 5px 20px red">Text here.</p>
This text has shadow with #507A57 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507A57, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507A57, Direction=45, Strength=4)">Text</p>
This text has shadow with #507A57 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507A57; -webkit-box-shadow: 1px 1px 3px 2px #507A57; box-shadow: 1px 1px 3px 2px #507A57; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507A57; -webkit-box-shadow: 1px 1px 3px 2px #507A57; box-shadow:1px 1px 3px 2px #507A57;">
Div content here</div>
This text has color #507A57 on black background.
This text has color #507A57 on white background.
This text has black color on #507A57 background.
This text has white color on #507A57 background.