HEX: #50816B
RGB: (80,129,107)
#50816B contains red, green and blue colors in about the same proportion. Web safe color of #50816B is #669966 (or #696).
#50816B color RGB value is (80,129,107).
RGB: (80,129,107) (31%,51%,42%)
R 80 of 255 = 31%
G 129 of 255 = 51%
B 107 of 255 = 42%
R + G + B ~ 41%. #50816B is middle color (not dark and not light).
R + G + B =
80 + 129 + 107 = 316 (100%)
R 80 of 316 ~ 25.32%
G 129 of 316 ~ 40.82%
B 107 of 316 ~ 33.86%
#50816B color CMYK value is (38,0,17,49).
CMYK: (38,0,17,49) C38M0Y17K49 (38%,0%,17%,49%) (0.38/0.00/0.17/0.49)
50 | 81 | 6B | |
---|---|---|---|
RGB | 80 | 129 | 107 |
HSL | 153° | 23.44% | 40.98% |
HSB/HSV | 153° | 37.98% | 50.59% |
CMYK | 37.98% | 0.00% | 17.05% |
49.41% |
HEX | 50 | 81 | 6B |
Decimal | 80 | 129 | 107 |
Binary | 1010000 | 10000001 | 1101011 |
Octal | 120 | 201 | 153 |
Examples of css and html codes for elements with #50816B color. Also use rgb(80,129,107) instead hex code.
.myTextColor { color: #50816B; }
<p style="color:#50816B">This sample text font color is #50816B.</p>
This text font color is #50816B.
.myBgColor { background-color: #50816B; }
<div style="background-color:#50816B">Inner text</div>
This div background color is #50816B.
.myBorderColor { border: 1px solid #50816B; }
<div style="border:3px solid #50816B">Div</div>
This div border color is #50816B.
.myOpacity80 { color: #50816B; opacity: 0.8; }
<p style="color:#50816B;opacity:0.8;">80%</p>
Text with #50816B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50816B;}
<p style="text-shadow: 3px 3px 1px #50816B">Text here.</p>
This text has shadow with #50816B color.
.textShadow {text-shadow: 3px 3px 1px #50816B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50816B, 5px 5px 20px red">Text here.</p>
This text has shadow with #50816B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50816B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50816B, Direction=45, Strength=4)">Text</p>
This text has shadow with #50816B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50816B; -webkit-box-shadow: 1px 1px 3px 2px #50816B; box-shadow: 1px 1px 3px 2px #50816B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50816B; -webkit-box-shadow: 1px 1px 3px 2px #50816B; box-shadow:1px 1px 3px 2px #50816B;">
Div content here</div>
This text has color #50816B on black background.
This text has color #50816B on white background.
This text has black color on #50816B background.
This text has white color on #50816B background.