HEX: #50424F
RGB: (80,66,79)
#50424F contains red, green and blue colors in about the same proportion. Web safe color of #50424F is #663366 (or #636).
#50424F color RGB value is (80,66,79).
RGB: (80,66,79) (31%,26%,31%)
R 80 of 255 = 31%
G 66 of 255 = 26%
B 79 of 255 = 31%
R + G + B ~ 29%. #50424F is quite dark color.
R + G + B =
80 + 66 + 79 = 225 (100%)
R 80 of 225 ~ 35.56%
G 66 of 225 ~ 29.33%
B 79 of 225 ~ 35.11%
#50424F color CMYK value is (0,18,1,69).
CMYK: (0,18,1,69) C0M18Y1K69 (0%,18%,1%,69%) (0.00/0.18/0.01/0.69)
50 | 42 | 4F | |
---|---|---|---|
RGB | 80 | 66 | 79 |
HSL | 304° | 9.59% | 28.63% |
HSB/HSV | 304° | 17.50% | 31.37% |
CMYK | 0.00% | 17.50% | 1.25% |
68.63% |
HEX | 50 | 42 | 4F |
Decimal | 80 | 66 | 79 |
Binary | 1010000 | 1000010 | 1001111 |
Octal | 120 | 102 | 117 |
Examples of css and html codes for elements with #50424F color. Also use rgb(80,66,79) instead hex code.
.myTextColor { color: #50424F; }
<p style="color:#50424F">This sample text font color is #50424F.</p>
This text font color is #50424F.
.myBgColor { background-color: #50424F; }
<div style="background-color:#50424F">Inner text</div>
This div background color is #50424F.
.myBorderColor { border: 1px solid #50424F; }
<div style="border:3px solid #50424F">Div</div>
This div border color is #50424F.
.myOpacity80 { color: #50424F; opacity: 0.8; }
<p style="color:#50424F;opacity:0.8;">80%</p>
Text with #50424F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50424F;}
<p style="text-shadow: 3px 3px 1px #50424F">Text here.</p>
This text has shadow with #50424F color.
.textShadow {text-shadow: 3px 3px 1px #50424F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50424F, 5px 5px 20px red">Text here.</p>
This text has shadow with #50424F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50424F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50424F, Direction=45, Strength=4)">Text</p>
This text has shadow with #50424F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50424F; -webkit-box-shadow: 1px 1px 3px 2px #50424F; box-shadow: 1px 1px 3px 2px #50424F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50424F; -webkit-box-shadow: 1px 1px 3px 2px #50424F; box-shadow:1px 1px 3px 2px #50424F;">
Div content here</div>
This text has color #50424F on black background.
This text has color #50424F on white background.
This text has black color on #50424F background.
This text has white color on #50424F background.