HEX: #507560
RGB: (80,117,96)
#507560 contains red, green and blue colors in about the same proportion. Web safe color of #507560 is #666666 (or #666).
#507560 color RGB value is (80,117,96).
RGB: (80,117,96) (31%,46%,38%)
R 80 of 255 = 31%
G 117 of 255 = 46%
B 96 of 255 = 38%
R + G + B ~ 38%. #507560 is quite dark color.
R + G + B =
80 + 117 + 96 = 293 (100%)
R 80 of 293 ~ 27.3%
G 117 of 293 ~ 39.93%
B 96 of 293 ~ 32.76%
#507560 color CMYK value is (32,0,18,54).
CMYK: (32,0,18,54) C32M0Y18K54 (32%,0%,18%,54%) (0.32/0.00/0.18/0.54)
50 | 75 | 60 | |
---|---|---|---|
RGB | 80 | 117 | 96 |
HSL | 146° | 18.78% | 38.63% |
HSB/HSV | 146° | 31.62% | 45.88% |
CMYK | 31.62% | 0.00% | 17.95% |
54.12% |
HEX | 50 | 75 | 60 |
Decimal | 80 | 117 | 96 |
Binary | 1010000 | 1110101 | 1100000 |
Octal | 120 | 165 | 140 |
Examples of css and html codes for elements with #507560 color. Also use rgb(80,117,96) instead hex code.
.myTextColor { color: #507560; }
<p style="color:#507560">This sample text font color is #507560.</p>
This text font color is #507560.
.myBgColor { background-color: #507560; }
<div style="background-color:#507560">Inner text</div>
This div background color is #507560.
.myBorderColor { border: 1px solid #507560; }
<div style="border:3px solid #507560">Div</div>
This div border color is #507560.
.myOpacity80 { color: #507560; opacity: 0.8; }
<p style="color:#507560;opacity:0.8;">80%</p>
Text with #507560 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #507560;}
<p style="text-shadow: 3px 3px 1px #507560">Text here.</p>
This text has shadow with #507560 color.
.textShadow {text-shadow: 3px 3px 1px #507560, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #507560, 5px 5px 20px red">Text here.</p>
This text has shadow with #507560 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#507560, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#507560, Direction=45, Strength=4)">Text</p>
This text has shadow with #507560 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #507560; -webkit-box-shadow: 1px 1px 3px 2px #507560; box-shadow: 1px 1px 3px 2px #507560; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #507560; -webkit-box-shadow: 1px 1px 3px 2px #507560; box-shadow:1px 1px 3px 2px #507560;">
Div content here</div>
This text has color #507560 on black background.
This text has color #507560 on white background.
This text has black color on #507560 background.
This text has white color on #507560 background.