HEX: #50708D
RGB: (80,112,141)
#50708D contains mainly green and blue colors. Web safe color of #50708D is #666699 (or #669).
#50708D color RGB value is (80,112,141).
RGB: (80,112,141) (31%,44%,55%)
R 80 of 255 = 31%
G 112 of 255 = 44%
B 141 of 255 = 55%
R + G + B ~ 43%. #50708D is middle color (not dark and not light).
R + G + B =
80 + 112 + 141 = 333 (100%)
R 80 of 333 ~ 24.02%
G 112 of 333 ~ 33.63%
B 141 of 333 ~ 42.34%
#50708D color CMYK value is (43,21,0,45).
CMYK: (43,21,0,45) C43M21Y0K45 (43%,21%,0%,45%) (0.43/0.21/0.00/0.45)
50 | 70 | 8D | |
---|---|---|---|
RGB | 80 | 112 | 141 |
HSL | 209° | 27.60% | 43.33% |
HSB/HSV | 209° | 43.26% | 55.29% |
CMYK | 43.26% | 20.57% | 0.00% |
44.71% |
HEX | 50 | 70 | 8D |
Decimal | 80 | 112 | 141 |
Binary | 1010000 | 1110000 | 10001101 |
Octal | 120 | 160 | 215 |
Examples of css and html codes for elements with #50708D color. Also use rgb(80,112,141) instead hex code.
.myTextColor { color: #50708D; }
<p style="color:#50708D">This sample text font color is #50708D.</p>
This text font color is #50708D.
.myBgColor { background-color: #50708D; }
<div style="background-color:#50708D">Inner text</div>
This div background color is #50708D.
.myBorderColor { border: 1px solid #50708D; }
<div style="border:3px solid #50708D">Div</div>
This div border color is #50708D.
.myOpacity80 { color: #50708D; opacity: 0.8; }
<p style="color:#50708D;opacity:0.8;">80%</p>
Text with #50708D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50708D;}
<p style="text-shadow: 3px 3px 1px #50708D">Text here.</p>
This text has shadow with #50708D color.
.textShadow {text-shadow: 3px 3px 1px #50708D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50708D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50708D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50708D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50708D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50708D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50708D; -webkit-box-shadow: 1px 1px 3px 2px #50708D; box-shadow: 1px 1px 3px 2px #50708D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50708D; -webkit-box-shadow: 1px 1px 3px 2px #50708D; box-shadow:1px 1px 3px 2px #50708D;">
Div content here</div>
This text has color #50708D on black background.
This text has color #50708D on white background.
This text has black color on #50708D background.
This text has white color on #50708D background.