HEX: #505785
RGB: (80,87,133)
#505785 contains red, green and blue colors in about the same proportion. Web safe color of #505785 is #666699 (or #669).
#505785 color RGB value is (80,87,133).
RGB: (80,87,133) (31%,34%,52%)
R 80 of 255 = 31%
G 87 of 255 = 34%
B 133 of 255 = 52%
R + G + B ~ 39%. #505785 is quite dark color.
R + G + B =
80 + 87 + 133 = 300 (100%)
R 80 of 300 ~ 26.67%
G 87 of 300 ~ 29%
B 133 of 300 ~ 44.33%
#505785 color CMYK value is (40,35,0,48).
CMYK: (40,35,0,48) C40M35Y0K48 (40%,35%,0%,48%) (0.40/0.35/0.00/0.48)
50 | 57 | 85 | |
---|---|---|---|
RGB | 80 | 87 | 133 |
HSL | 232° | 24.88% | 41.76% |
HSB/HSV | 232° | 39.85% | 52.16% |
CMYK | 39.85% | 34.59% | 0.00% |
47.84% |
HEX | 50 | 57 | 85 |
Decimal | 80 | 87 | 133 |
Binary | 1010000 | 1010111 | 10000101 |
Octal | 120 | 127 | 205 |
Examples of css and html codes for elements with #505785 color. Also use rgb(80,87,133) instead hex code.
.myTextColor { color: #505785; }
<p style="color:#505785">This sample text font color is #505785.</p>
This text font color is #505785.
.myBgColor { background-color: #505785; }
<div style="background-color:#505785">Inner text</div>
This div background color is #505785.
.myBorderColor { border: 1px solid #505785; }
<div style="border:3px solid #505785">Div</div>
This div border color is #505785.
.myOpacity80 { color: #505785; opacity: 0.8; }
<p style="color:#505785;opacity:0.8;">80%</p>
Text with #505785 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505785;}
<p style="text-shadow: 3px 3px 1px #505785">Text here.</p>
This text has shadow with #505785 color.
.textShadow {text-shadow: 3px 3px 1px #505785, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505785, 5px 5px 20px red">Text here.</p>
This text has shadow with #505785 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505785, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505785, Direction=45, Strength=4)">Text</p>
This text has shadow with #505785 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505785; -webkit-box-shadow: 1px 1px 3px 2px #505785; box-shadow: 1px 1px 3px 2px #505785; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505785; -webkit-box-shadow: 1px 1px 3px 2px #505785; box-shadow:1px 1px 3px 2px #505785;">
Div content here</div>
This text has color #505785 on black background.
This text has color #505785 on white background.
This text has black color on #505785 background.
This text has white color on #505785 background.