HEX: #506977
RGB: (80,105,119)
#506977 contains red, green and blue colors in about the same proportion. Web safe color of #506977 is #666666 (or #666).
#506977 color RGB value is (80,105,119).
RGB: (80,105,119) (31%,41%,47%)
R 80 of 255 = 31%
G 105 of 255 = 41%
B 119 of 255 = 47%
R + G + B ~ 40%. #506977 is middle color (not dark and not light).
R + G + B =
80 + 105 + 119 = 304 (100%)
R 80 of 304 ~ 26.32%
G 105 of 304 ~ 34.54%
B 119 of 304 ~ 39.14%
#506977 color CMYK value is (33,12,0,53).
CMYK: (33,12,0,53) C33M12Y0K53 (33%,12%,0%,53%) (0.33/0.12/0.00/0.53)
50 | 69 | 77 | |
---|---|---|---|
RGB | 80 | 105 | 119 |
HSL | 202° | 19.60% | 39.02% |
HSB/HSV | 202° | 32.77% | 46.67% |
CMYK | 32.77% | 11.76% | 0.00% |
53.33% |
HEX | 50 | 69 | 77 |
Decimal | 80 | 105 | 119 |
Binary | 1010000 | 1101001 | 1110111 |
Octal | 120 | 151 | 167 |
Examples of css and html codes for elements with #506977 color. Also use rgb(80,105,119) instead hex code.
.myTextColor { color: #506977; }
<p style="color:#506977">This sample text font color is #506977.</p>
This text font color is #506977.
.myBgColor { background-color: #506977; }
<div style="background-color:#506977">Inner text</div>
This div background color is #506977.
.myBorderColor { border: 1px solid #506977; }
<div style="border:3px solid #506977">Div</div>
This div border color is #506977.
.myOpacity80 { color: #506977; opacity: 0.8; }
<p style="color:#506977;opacity:0.8;">80%</p>
Text with #506977 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #506977;}
<p style="text-shadow: 3px 3px 1px #506977">Text here.</p>
This text has shadow with #506977 color.
.textShadow {text-shadow: 3px 3px 1px #506977, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #506977, 5px 5px 20px red">Text here.</p>
This text has shadow with #506977 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#506977, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#506977, Direction=45, Strength=4)">Text</p>
This text has shadow with #506977 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #506977; -webkit-box-shadow: 1px 1px 3px 2px #506977; box-shadow: 1px 1px 3px 2px #506977; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #506977; -webkit-box-shadow: 1px 1px 3px 2px #506977; box-shadow:1px 1px 3px 2px #506977;">
Div content here</div>
This text has color #506977 on black background.
This text has color #506977 on white background.
This text has black color on #506977 background.
This text has white color on #506977 background.