HEX: #505F77
RGB: (80,95,119)
#505F77 contains red, green and blue colors in about the same proportion. Web safe color of #505F77 is #666666 (or #666).
#505F77 color RGB value is (80,95,119).
RGB: (80,95,119) (31%,37%,47%)
R 80 of 255 = 31%
G 95 of 255 = 37%
B 119 of 255 = 47%
R + G + B ~ 38%. #505F77 is quite dark color.
R + G + B =
80 + 95 + 119 = 294 (100%)
R 80 of 294 ~ 27.21%
G 95 of 294 ~ 32.31%
B 119 of 294 ~ 40.48%
#505F77 color CMYK value is (33,20,0,53).
CMYK: (33,20,0,53) C33M20Y0K53 (33%,20%,0%,53%) (0.33/0.20/0.00/0.53)
50 | 5F | 77 | |
---|---|---|---|
RGB | 80 | 95 | 119 |
HSL | 217° | 19.60% | 39.02% |
HSB/HSV | 217° | 32.77% | 46.67% |
CMYK | 32.77% | 20.17% | 0.00% |
53.33% |
HEX | 50 | 5F | 77 |
Decimal | 80 | 95 | 119 |
Binary | 1010000 | 1011111 | 1110111 |
Octal | 120 | 137 | 167 |
Examples of css and html codes for elements with #505F77 color. Also use rgb(80,95,119) instead hex code.
.myTextColor { color: #505F77; }
<p style="color:#505F77">This sample text font color is #505F77.</p>
This text font color is #505F77.
.myBgColor { background-color: #505F77; }
<div style="background-color:#505F77">Inner text</div>
This div background color is #505F77.
.myBorderColor { border: 1px solid #505F77; }
<div style="border:3px solid #505F77">Div</div>
This div border color is #505F77.
.myOpacity80 { color: #505F77; opacity: 0.8; }
<p style="color:#505F77;opacity:0.8;">80%</p>
Text with #505F77 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505F77;}
<p style="text-shadow: 3px 3px 1px #505F77">Text here.</p>
This text has shadow with #505F77 color.
.textShadow {text-shadow: 3px 3px 1px #505F77, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505F77, 5px 5px 20px red">Text here.</p>
This text has shadow with #505F77 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505F77, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505F77, Direction=45, Strength=4)">Text</p>
This text has shadow with #505F77 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505F77; -webkit-box-shadow: 1px 1px 3px 2px #505F77; box-shadow: 1px 1px 3px 2px #505F77; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505F77; -webkit-box-shadow: 1px 1px 3px 2px #505F77; box-shadow:1px 1px 3px 2px #505F77;">
Div content here</div>
This text has color #505F77 on black background.
This text has color #505F77 on white background.
This text has black color on #505F77 background.
This text has white color on #505F77 background.