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