HEX: #506159
RGB: (80,97,89)
#506159 contains red, green and blue colors in about the same proportion. Web safe color of #506159 is #666666 (or #666).
#506159 color RGB value is (80,97,89).
RGB: (80,97,89) (31%,38%,35%)
R 80 of 255 = 31%
G 97 of 255 = 38%
B 89 of 255 = 35%
R + G + B ~ 35%. #506159 is quite dark color.
R + G + B =
80 + 97 + 89 = 266 (100%)
R 80 of 266 ~ 30.08%
G 97 of 266 ~ 36.47%
B 89 of 266 ~ 33.46%
#506159 color CMYK value is (18,0,8,62).
CMYK: (18,0,8,62) C18M0Y8K62 (18%,0%,8%,62%) (0.18/0.00/0.08/0.62)
50 | 61 | 59 | |
---|---|---|---|
RGB | 80 | 97 | 89 |
HSL | 152° | 9.60% | 34.71% |
HSB/HSV | 152° | 17.53% | 38.04% |
CMYK | 17.53% | 0.00% | 8.25% |
61.96% |
HEX | 50 | 61 | 59 |
Decimal | 80 | 97 | 89 |
Binary | 1010000 | 1100001 | 1011001 |
Octal | 120 | 141 | 131 |
Examples of css and html codes for elements with #506159 color. Also use rgb(80,97,89) instead hex code.
.myTextColor { color: #506159; }
<p style="color:#506159">This sample text font color is #506159.</p>
This text font color is #506159.
.myBgColor { background-color: #506159; }
<div style="background-color:#506159">Inner text</div>
This div background color is #506159.
.myBorderColor { border: 1px solid #506159; }
<div style="border:3px solid #506159">Div</div>
This div border color is #506159.
.myOpacity80 { color: #506159; opacity: 0.8; }
<p style="color:#506159;opacity:0.8;">80%</p>
Text with #506159 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506159;}
<p style="text-shadow: 3px 3px 1px #506159">Text here.</p>
This text has shadow with #506159 color.
.textShadow {text-shadow: 3px 3px 1px #506159, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506159, 5px 5px 20px red">Text here.</p>
This text has shadow with #506159 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506159, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506159, Direction=45, Strength=4)">Text</p>
This text has shadow with #506159 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506159; -webkit-box-shadow: 1px 1px 3px 2px #506159; box-shadow: 1px 1px 3px 2px #506159; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506159; -webkit-box-shadow: 1px 1px 3px 2px #506159; box-shadow:1px 1px 3px 2px #506159;">
Div content here</div>
This text has color #506159 on black background.
This text has color #506159 on white background.
This text has black color on #506159 background.
This text has white color on #506159 background.