HEX: #517757
RGB: (81,119,87)
#517757 contains red, green and blue colors in about the same proportion. Web safe color of #517757 is #666666 (or #666).
#517757 color RGB value is (81,119,87).
RGB: (81,119,87) (32%,47%,34%)
R 81 of 255 = 32%
G 119 of 255 = 47%
B 87 of 255 = 34%
R + G + B ~ 38%. #517757 is quite dark color.
R + G + B =
81 + 119 + 87 = 287 (100%)
R 81 of 287 ~ 28.22%
G 119 of 287 ~ 41.46%
B 87 of 287 ~ 30.31%
#517757 color CMYK value is (32,0,27,53).
CMYK: (32,0,27,53) C32M0Y27K53 (32%,0%,27%,53%) (0.32/0.00/0.27/0.53)
51 | 77 | 57 | |
---|---|---|---|
RGB | 81 | 119 | 87 |
HSL | 129° | 19.00% | 39.22% |
HSB/HSV | 129° | 31.93% | 46.67% |
CMYK | 31.93% | 0.00% | 26.89% |
53.33% |
HEX | 51 | 77 | 57 |
Decimal | 81 | 119 | 87 |
Binary | 1010001 | 1110111 | 1010111 |
Octal | 121 | 167 | 127 |
Examples of css and html codes for elements with #517757 color. Also use rgb(81,119,87) instead hex code.
.myTextColor { color: #517757; }
<p style="color:#517757">This sample text font color is #517757.</p>
This text font color is #517757.
.myBgColor { background-color: #517757; }
<div style="background-color:#517757">Inner text</div>
This div background color is #517757.
.myBorderColor { border: 1px solid #517757; }
<div style="border:3px solid #517757">Div</div>
This div border color is #517757.
.myOpacity80 { color: #517757; opacity: 0.8; }
<p style="color:#517757;opacity:0.8;">80%</p>
Text with #517757 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #517757;}
<p style="text-shadow: 3px 3px 1px #517757">Text here.</p>
This text has shadow with #517757 color.
.textShadow {text-shadow: 3px 3px 1px #517757, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #517757, 5px 5px 20px red">Text here.</p>
This text has shadow with #517757 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#517757, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#517757, Direction=45, Strength=4)">Text</p>
This text has shadow with #517757 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #517757; -webkit-box-shadow: 1px 1px 3px 2px #517757; box-shadow: 1px 1px 3px 2px #517757; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #517757; -webkit-box-shadow: 1px 1px 3px 2px #517757; box-shadow:1px 1px 3px 2px #517757;">
Div content here</div>
This text has color #517757 on black background.
This text has color #517757 on white background.
This text has black color on #517757 background.
This text has white color on #517757 background.