HEX: #506E6C
RGB: (80,110,108)
#506E6C contains red, green and blue colors in about the same proportion. Web safe color of #506E6C is #666666 (or #666).
#506E6C color RGB value is (80,110,108).
RGB: (80,110,108) (31%,43%,42%)
R 80 of 255 = 31%
G 110 of 255 = 43%
B 108 of 255 = 42%
R + G + B ~ 39%. #506E6C is quite dark color.
R + G + B =
80 + 110 + 108 = 298 (100%)
R 80 of 298 ~ 26.85%
G 110 of 298 ~ 36.91%
B 108 of 298 ~ 36.24%
#506E6C color CMYK value is (27,0,2,57).
CMYK: (27,0,2,57) C27M0Y2K57 (27%,0%,2%,57%) (0.27/0.00/0.02/0.57)
50 | 6E | 6C | |
---|---|---|---|
RGB | 80 | 110 | 108 |
HSL | 176° | 15.79% | 37.25% |
HSB/HSV | 176° | 27.27% | 43.14% |
CMYK | 27.27% | 0.00% | 1.82% |
56.86% |
HEX | 50 | 6E | 6C |
Decimal | 80 | 110 | 108 |
Binary | 1010000 | 1101110 | 1101100 |
Octal | 120 | 156 | 154 |
Examples of css and html codes for elements with #506E6C color. Also use rgb(80,110,108) instead hex code.
.myTextColor { color: #506E6C; }
<p style="color:#506E6C">This sample text font color is #506E6C.</p>
This text font color is #506E6C.
.myBgColor { background-color: #506E6C; }
<div style="background-color:#506E6C">Inner text</div>
This div background color is #506E6C.
.myBorderColor { border: 1px solid #506E6C; }
<div style="border:3px solid #506E6C">Div</div>
This div border color is #506E6C.
.myOpacity80 { color: #506E6C; opacity: 0.8; }
<p style="color:#506E6C;opacity:0.8;">80%</p>
Text with #506E6C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506E6C;}
<p style="text-shadow: 3px 3px 1px #506E6C">Text here.</p>
This text has shadow with #506E6C color.
.textShadow {text-shadow: 3px 3px 1px #506E6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506E6C, 5px 5px 20px red">Text here.</p>
This text has shadow with #506E6C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506E6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506E6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #506E6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506E6C; -webkit-box-shadow: 1px 1px 3px 2px #506E6C; box-shadow: 1px 1px 3px 2px #506E6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506E6C; -webkit-box-shadow: 1px 1px 3px 2px #506E6C; box-shadow:1px 1px 3px 2px #506E6C;">
Div content here</div>
This text has color #506E6C on black background.
This text has color #506E6C on white background.
This text has black color on #506E6C background.
This text has white color on #506E6C background.