HEX: #50514F
RGB: (80,81,79)
#50514F contains red, green and blue colors in about the same proportion. Web safe color of #50514F is #666666 (or #666).
#50514F color RGB value is (80,81,79).
RGB: (80,81,79) (31%,32%,31%)
R 80 of 255 = 31%
G 81 of 255 = 32%
B 79 of 255 = 31%
R + G + B ~ 31%. #50514F is quite dark color.
R + G + B =
80 + 81 + 79 = 240 (100%)
R 80 of 240 ~ 33.33%
G 81 of 240 ~ 33.75%
B 79 of 240 ~ 32.92%
#50514F color CMYK value is (1,0,2,68).
CMYK: (1,0,2,68) C1M0Y2K68 (1%,0%,2%,68%) (0.01/0.00/0.02/0.68)
50 | 51 | 4F | |
---|---|---|---|
RGB | 80 | 81 | 79 |
HSL | 90° | 1.25% | 31.37% |
HSB/HSV | 90° | 2.47% | 31.76% |
CMYK | 1.23% | 0.00% | 2.47% |
68.24% |
HEX | 50 | 51 | 4F |
Decimal | 80 | 81 | 79 |
Binary | 1010000 | 1010001 | 1001111 |
Octal | 120 | 121 | 117 |
Examples of css and html codes for elements with #50514F color. Also use rgb(80,81,79) instead hex code.
.myTextColor { color: #50514F; }
<p style="color:#50514F">This sample text font color is #50514F.</p>
This text font color is #50514F.
.myBgColor { background-color: #50514F; }
<div style="background-color:#50514F">Inner text</div>
This div background color is #50514F.
.myBorderColor { border: 1px solid #50514F; }
<div style="border:3px solid #50514F">Div</div>
This div border color is #50514F.
.myOpacity80 { color: #50514F; opacity: 0.8; }
<p style="color:#50514F;opacity:0.8;">80%</p>
Text with #50514F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50514F;}
<p style="text-shadow: 3px 3px 1px #50514F">Text here.</p>
This text has shadow with #50514F color.
.textShadow {text-shadow: 3px 3px 1px #50514F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50514F, 5px 5px 20px red">Text here.</p>
This text has shadow with #50514F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50514F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50514F, Direction=45, Strength=4)">Text</p>
This text has shadow with #50514F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50514F; -webkit-box-shadow: 1px 1px 3px 2px #50514F; box-shadow: 1px 1px 3px 2px #50514F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50514F; -webkit-box-shadow: 1px 1px 3px 2px #50514F; box-shadow:1px 1px 3px 2px #50514F;">
Div content here</div>
This text has color #50514F on black background.
This text has color #50514F on white background.
This text has black color on #50514F background.
This text has white color on #50514F background.