HEX: #50505F
RGB: (80,80,95)
#50505F contains red, green and blue colors in about the same proportion. Web safe color of #50505F is #666666 (or #666).
#50505F color RGB value is (80,80,95).
RGB: (80,80,95) (31%,31%,37%)
R 80 of 255 = 31%
G 80 of 255 = 31%
B 95 of 255 = 37%
R + G + B ~ 33%. #50505F is quite dark color.
R + G + B =
80 + 80 + 95 = 255 (100%)
R 80 of 255 ~ 31.37%
G 80 of 255 ~ 31.37%
B 95 of 255 ~ 37.25%
#50505F color CMYK value is (16,16,0,63).
CMYK: (16,16,0,63) C16M16Y0K63 (16%,16%,0%,63%) (0.16/0.16/0.00/0.63)
50 | 50 | 5F | |
---|---|---|---|
RGB | 80 | 80 | 95 |
HSL | 240° | 8.57% | 34.31% |
HSB/HSV | 240° | 15.79% | 37.25% |
CMYK | 15.79% | 15.79% | 0.00% |
62.75% |
HEX | 50 | 50 | 5F |
Decimal | 80 | 80 | 95 |
Binary | 1010000 | 1010000 | 1011111 |
Octal | 120 | 120 | 137 |
Examples of css and html codes for elements with #50505F color. Also use rgb(80,80,95) instead hex code.
.myTextColor { color: #50505F; }
<p style="color:#50505F">This sample text font color is #50505F.</p>
This text font color is #50505F.
.myBgColor { background-color: #50505F; }
<div style="background-color:#50505F">Inner text</div>
This div background color is #50505F.
.myBorderColor { border: 1px solid #50505F; }
<div style="border:3px solid #50505F">Div</div>
This div border color is #50505F.
.myOpacity80 { color: #50505F; opacity: 0.8; }
<p style="color:#50505F;opacity:0.8;">80%</p>
Text with #50505F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50505F;}
<p style="text-shadow: 3px 3px 1px #50505F">Text here.</p>
This text has shadow with #50505F color.
.textShadow {text-shadow: 3px 3px 1px #50505F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50505F, 5px 5px 20px red">Text here.</p>
This text has shadow with #50505F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50505F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50505F, Direction=45, Strength=4)">Text</p>
This text has shadow with #50505F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50505F; -webkit-box-shadow: 1px 1px 3px 2px #50505F; box-shadow: 1px 1px 3px 2px #50505F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50505F; -webkit-box-shadow: 1px 1px 3px 2px #50505F; box-shadow:1px 1px 3px 2px #50505F;">
Div content here</div>
This text has color #50505F on black background.
This text has color #50505F on white background.
This text has black color on #50505F background.
This text has white color on #50505F background.