HEX: #50515D
RGB: (80,81,93)
#50515D contains red, green and blue colors in about the same proportion. Web safe color of #50515D is #666666 (or #666).
#50515D color RGB value is (80,81,93).
RGB: (80,81,93) (31%,32%,36%)
R 80 of 255 = 31%
G 81 of 255 = 32%
B 93 of 255 = 36%
R + G + B ~ 33%. #50515D is quite dark color.
R + G + B =
80 + 81 + 93 = 254 (100%)
R 80 of 254 ~ 31.5%
G 81 of 254 ~ 31.89%
B 93 of 254 ~ 36.61%
#50515D color CMYK value is (14,13,0,64).
CMYK: (14,13,0,64) C14M13Y0K64 (14%,13%,0%,64%) (0.14/0.13/0.00/0.64)
50 | 51 | 5D | |
---|---|---|---|
RGB | 80 | 81 | 93 |
HSL | 235° | 7.51% | 33.92% |
HSB/HSV | 235° | 13.98% | 36.47% |
CMYK | 13.98% | 12.90% | 0.00% |
63.53% |
HEX | 50 | 51 | 5D |
Decimal | 80 | 81 | 93 |
Binary | 1010000 | 1010001 | 1011101 |
Octal | 120 | 121 | 135 |
Examples of css and html codes for elements with #50515D color. Also use rgb(80,81,93) instead hex code.
.myTextColor { color: #50515D; }
<p style="color:#50515D">This sample text font color is #50515D.</p>
This text font color is #50515D.
.myBgColor { background-color: #50515D; }
<div style="background-color:#50515D">Inner text</div>
This div background color is #50515D.
.myBorderColor { border: 1px solid #50515D; }
<div style="border:3px solid #50515D">Div</div>
This div border color is #50515D.
.myOpacity80 { color: #50515D; opacity: 0.8; }
<p style="color:#50515D;opacity:0.8;">80%</p>
Text with #50515D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50515D;}
<p style="text-shadow: 3px 3px 1px #50515D">Text here.</p>
This text has shadow with #50515D color.
.textShadow {text-shadow: 3px 3px 1px #50515D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50515D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50515D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50515D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50515D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50515D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50515D; -webkit-box-shadow: 1px 1px 3px 2px #50515D; box-shadow: 1px 1px 3px 2px #50515D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50515D; -webkit-box-shadow: 1px 1px 3px 2px #50515D; box-shadow:1px 1px 3px 2px #50515D;">
Div content here</div>
This text has color #50515D on black background.
This text has color #50515D on white background.
This text has black color on #50515D background.
This text has white color on #50515D background.