HEX: #517855
RGB: (81,120,85)
#517855 contains red, green and blue colors in about the same proportion. Web safe color of #517855 is #666666 (or #666).
#517855 color RGB value is (81,120,85).
RGB: (81,120,85) (32%,47%,33%)
R 81 of 255 = 32%
G 120 of 255 = 47%
B 85 of 255 = 33%
R + G + B ~ 37%. #517855 is quite dark color.
R + G + B =
81 + 120 + 85 = 286 (100%)
R 81 of 286 ~ 28.32%
G 120 of 286 ~ 41.96%
B 85 of 286 ~ 29.72%
#517855 color CMYK value is (33,0,29,53).
CMYK: (33,0,29,53) C33M0Y29K53 (33%,0%,29%,53%) (0.33/0.00/0.29/0.53)
51 | 78 | 55 | |
---|---|---|---|
RGB | 81 | 120 | 85 |
HSL | 126° | 19.40% | 39.41% |
HSB/HSV | 126° | 32.50% | 47.06% |
CMYK | 32.50% | 0.00% | 29.17% |
52.94% |
HEX | 51 | 78 | 55 |
Decimal | 81 | 120 | 85 |
Binary | 1010001 | 1111000 | 1010101 |
Octal | 121 | 170 | 125 |
Examples of css and html codes for elements with #517855 color. Also use rgb(81,120,85) instead hex code.
.myTextColor { color: #517855; }
<p style="color:#517855">This sample text font color is #517855.</p>
This text font color is #517855.
.myBgColor { background-color: #517855; }
<div style="background-color:#517855">Inner text</div>
This div background color is #517855.
.myBorderColor { border: 1px solid #517855; }
<div style="border:3px solid #517855">Div</div>
This div border color is #517855.
.myOpacity80 { color: #517855; opacity: 0.8; }
<p style="color:#517855;opacity:0.8;">80%</p>
Text with #517855 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #517855;}
<p style="text-shadow: 3px 3px 1px #517855">Text here.</p>
This text has shadow with #517855 color.
.textShadow {text-shadow: 3px 3px 1px #517855, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #517855, 5px 5px 20px red">Text here.</p>
This text has shadow with #517855 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#517855, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#517855, Direction=45, Strength=4)">Text</p>
This text has shadow with #517855 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #517855; -webkit-box-shadow: 1px 1px 3px 2px #517855; box-shadow: 1px 1px 3px 2px #517855; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #517855; -webkit-box-shadow: 1px 1px 3px 2px #517855; box-shadow:1px 1px 3px 2px #517855;">
Div content here</div>
This text has color #517855 on black background.
This text has color #517855 on white background.
This text has black color on #517855 background.
This text has white color on #517855 background.