HEX: #50746D
RGB: (80,116,109)
#50746D contains red, green and blue colors in about the same proportion. Web safe color of #50746D is #666666 (or #666).
#50746D color RGB value is (80,116,109).
RGB: (80,116,109) (31%,45%,43%)
R 80 of 255 = 31%
G 116 of 255 = 45%
B 109 of 255 = 43%
R + G + B ~ 40%. #50746D is middle color (not dark and not light).
R + G + B =
80 + 116 + 109 = 305 (100%)
R 80 of 305 ~ 26.23%
G 116 of 305 ~ 38.03%
B 109 of 305 ~ 35.74%
#50746D color CMYK value is (31,0,6,55).
CMYK: (31,0,6,55) C31M0Y6K55 (31%,0%,6%,55%) (0.31/0.00/0.06/0.55)
50 | 74 | 6D | |
---|---|---|---|
RGB | 80 | 116 | 109 |
HSL | 168° | 18.37% | 38.43% |
HSB/HSV | 168° | 31.03% | 45.49% |
CMYK | 31.03% | 0.00% | 6.03% |
54.51% |
HEX | 50 | 74 | 6D |
Decimal | 80 | 116 | 109 |
Binary | 1010000 | 1110100 | 1101101 |
Octal | 120 | 164 | 155 |
Examples of css and html codes for elements with #50746D color. Also use rgb(80,116,109) instead hex code.
.myTextColor { color: #50746D; }
<p style="color:#50746D">This sample text font color is #50746D.</p>
This text font color is #50746D.
.myBgColor { background-color: #50746D; }
<div style="background-color:#50746D">Inner text</div>
This div background color is #50746D.
.myBorderColor { border: 1px solid #50746D; }
<div style="border:3px solid #50746D">Div</div>
This div border color is #50746D.
.myOpacity80 { color: #50746D; opacity: 0.8; }
<p style="color:#50746D;opacity:0.8;">80%</p>
Text with #50746D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50746D;}
<p style="text-shadow: 3px 3px 1px #50746D">Text here.</p>
This text has shadow with #50746D color.
.textShadow {text-shadow: 3px 3px 1px #50746D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50746D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50746D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50746D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50746D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50746D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50746D; -webkit-box-shadow: 1px 1px 3px 2px #50746D; box-shadow: 1px 1px 3px 2px #50746D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50746D; -webkit-box-shadow: 1px 1px 3px 2px #50746D; box-shadow:1px 1px 3px 2px #50746D;">
Div content here</div>
This text has color #50746D on black background.
This text has color #50746D on white background.
This text has black color on #50746D background.
This text has white color on #50746D background.