HEX: #506B4E
RGB: (80,107,78)
#506B4E contains red, green and blue colors in about the same proportion. Web safe color of #506B4E is #666666 (or #666).
#506B4E color RGB value is (80,107,78).
RGB: (80,107,78) (31%,42%,31%)
R 80 of 255 = 31%
G 107 of 255 = 42%
B 78 of 255 = 31%
R + G + B ~ 35%. #506B4E is quite dark color.
R + G + B =
80 + 107 + 78 = 265 (100%)
R 80 of 265 ~ 30.19%
G 107 of 265 ~ 40.38%
B 78 of 265 ~ 29.43%
#506B4E color CMYK value is (25,0,27,58).
CMYK: (25,0,27,58) C25M0Y27K58 (25%,0%,27%,58%) (0.25/0.00/0.27/0.58)
50 | 6B | 4E | |
---|---|---|---|
RGB | 80 | 107 | 78 |
HSL | 116° | 15.68% | 36.27% |
HSB/HSV | 116° | 27.10% | 41.96% |
CMYK | 25.23% | 0.00% | 27.10% |
58.04% |
HEX | 50 | 6B | 4E |
Decimal | 80 | 107 | 78 |
Binary | 1010000 | 1101011 | 1001110 |
Octal | 120 | 153 | 116 |
Examples of css and html codes for elements with #506B4E color. Also use rgb(80,107,78) instead hex code.
.myTextColor { color: #506B4E; }
<p style="color:#506B4E">This sample text font color is #506B4E.</p>
This text font color is #506B4E.
.myBgColor { background-color: #506B4E; }
<div style="background-color:#506B4E">Inner text</div>
This div background color is #506B4E.
.myBorderColor { border: 1px solid #506B4E; }
<div style="border:3px solid #506B4E">Div</div>
This div border color is #506B4E.
.myOpacity80 { color: #506B4E; opacity: 0.8; }
<p style="color:#506B4E;opacity:0.8;">80%</p>
Text with #506B4E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506B4E;}
<p style="text-shadow: 3px 3px 1px #506B4E">Text here.</p>
This text has shadow with #506B4E color.
.textShadow {text-shadow: 3px 3px 1px #506B4E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506B4E, 5px 5px 20px red">Text here.</p>
This text has shadow with #506B4E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506B4E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506B4E, Direction=45, Strength=4)">Text</p>
This text has shadow with #506B4E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506B4E; -webkit-box-shadow: 1px 1px 3px 2px #506B4E; box-shadow: 1px 1px 3px 2px #506B4E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506B4E; -webkit-box-shadow: 1px 1px 3px 2px #506B4E; box-shadow:1px 1px 3px 2px #506B4E;">
Div content here</div>
This text has color #506B4E on black background.
This text has color #506B4E on white background.
This text has black color on #506B4E background.
This text has white color on #506B4E background.