HEX: #508389
RGB: (80,131,137)
#508389 contains red, green and blue colors in about the same proportion. Web safe color of #508389 is #669999 (or #699).
#508389 color RGB value is (80,131,137).
RGB: (80,131,137) (31%,51%,54%)
R 80 of 255 = 31%
G 131 of 255 = 51%
B 137 of 255 = 54%
R + G + B ~ 45%. #508389 is middle color (not dark and not light).
R + G + B =
80 + 131 + 137 = 348 (100%)
R 80 of 348 ~ 22.99%
G 131 of 348 ~ 37.64%
B 137 of 348 ~ 39.37%
#508389 color CMYK value is (42,4,0,46).
CMYK: (42,4,0,46) C42M4Y0K46 (42%,4%,0%,46%) (0.42/0.04/0.00/0.46)
50 | 83 | 89 | |
---|---|---|---|
RGB | 80 | 131 | 137 |
HSL | 186° | 26.27% | 42.55% |
HSB/HSV | 186° | 41.61% | 53.73% |
CMYK | 41.61% | 4.38% | 0.00% |
46.27% |
HEX | 50 | 83 | 89 |
Decimal | 80 | 131 | 137 |
Binary | 1010000 | 10000011 | 10001001 |
Octal | 120 | 203 | 211 |
Examples of css and html codes for elements with #508389 color. Also use rgb(80,131,137) instead hex code.
.myTextColor { color: #508389; }
<p style="color:#508389">This sample text font color is #508389.</p>
This text font color is #508389.
.myBgColor { background-color: #508389; }
<div style="background-color:#508389">Inner text</div>
This div background color is #508389.
.myBorderColor { border: 1px solid #508389; }
<div style="border:3px solid #508389">Div</div>
This div border color is #508389.
.myOpacity80 { color: #508389; opacity: 0.8; }
<p style="color:#508389;opacity:0.8;">80%</p>
Text with #508389 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #508389;}
<p style="text-shadow: 3px 3px 1px #508389">Text here.</p>
This text has shadow with #508389 color.
.textShadow {text-shadow: 3px 3px 1px #508389, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #508389, 5px 5px 20px red">Text here.</p>
This text has shadow with #508389 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#508389, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#508389, Direction=45, Strength=4)">Text</p>
This text has shadow with #508389 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #508389; -webkit-box-shadow: 1px 1px 3px 2px #508389; box-shadow: 1px 1px 3px 2px #508389; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #508389; -webkit-box-shadow: 1px 1px 3px 2px #508389; box-shadow:1px 1px 3px 2px #508389;">
Div content here</div>
This text has color #508389 on black background.
This text has color #508389 on white background.
This text has black color on #508389 background.
This text has white color on #508389 background.