HEX: #50666C
RGB: (80,102,108)
#50666C contains red, green and blue colors in about the same proportion. Web safe color of #50666C is #666666 (or #666).
#50666C color RGB value is (80,102,108).
RGB: (80,102,108) (31%,40%,42%)
R 80 of 255 = 31%
G 102 of 255 = 40%
B 108 of 255 = 42%
R + G + B ~ 38%. #50666C is quite dark color.
R + G + B =
80 + 102 + 108 = 290 (100%)
R 80 of 290 ~ 27.59%
G 102 of 290 ~ 35.17%
B 108 of 290 ~ 37.24%
#50666C color CMYK value is (26,6,0,58).
CMYK: (26,6,0,58) C26M6Y0K58 (26%,6%,0%,58%) (0.26/0.06/0.00/0.58)
50 | 66 | 6C | |
---|---|---|---|
RGB | 80 | 102 | 108 |
HSL | 193° | 14.89% | 36.86% |
HSB/HSV | 193° | 25.93% | 42.35% |
CMYK | 25.93% | 5.56% | 0.00% |
57.65% |
HEX | 50 | 66 | 6C |
Decimal | 80 | 102 | 108 |
Binary | 1010000 | 1100110 | 1101100 |
Octal | 120 | 146 | 154 |
Examples of css and html codes for elements with #50666C color. Also use rgb(80,102,108) instead hex code.
.myTextColor { color: #50666C; }
<p style="color:#50666C">This sample text font color is #50666C.</p>
This text font color is #50666C.
.myBgColor { background-color: #50666C; }
<div style="background-color:#50666C">Inner text</div>
This div background color is #50666C.
.myBorderColor { border: 1px solid #50666C; }
<div style="border:3px solid #50666C">Div</div>
This div border color is #50666C.
.myOpacity80 { color: #50666C; opacity: 0.8; }
<p style="color:#50666C;opacity:0.8;">80%</p>
Text with #50666C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50666C;}
<p style="text-shadow: 3px 3px 1px #50666C">Text here.</p>
This text has shadow with #50666C color.
.textShadow {text-shadow: 3px 3px 1px #50666C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50666C, 5px 5px 20px red">Text here.</p>
This text has shadow with #50666C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50666C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50666C, Direction=45, Strength=4)">Text</p>
This text has shadow with #50666C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50666C; -webkit-box-shadow: 1px 1px 3px 2px #50666C; box-shadow: 1px 1px 3px 2px #50666C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50666C; -webkit-box-shadow: 1px 1px 3px 2px #50666C; box-shadow:1px 1px 3px 2px #50666C;">
Div content here</div>
This text has color #50666C on black background.
This text has color #50666C on white background.
This text has black color on #50666C background.
This text has white color on #50666C background.