HEX: #505884
RGB: (80,88,132)
#505884 contains red, green and blue colors in about the same proportion. Web safe color of #505884 is #666699 (or #669).
#505884 color RGB value is (80,88,132).
RGB: (80,88,132) (31%,35%,52%)
R 80 of 255 = 31%
G 88 of 255 = 35%
B 132 of 255 = 52%
R + G + B ~ 39%. #505884 is quite dark color.
R + G + B =
80 + 88 + 132 = 300 (100%)
R 80 of 300 ~ 26.67%
G 88 of 300 ~ 29.33%
B 132 of 300 ~ 44%
#505884 color CMYK value is (39,33,0,48).
CMYK: (39,33,0,48) C39M33Y0K48 (39%,33%,0%,48%) (0.39/0.33/0.00/0.48)
50 | 58 | 84 | |
---|---|---|---|
RGB | 80 | 88 | 132 |
HSL | 231° | 24.53% | 41.57% |
HSB/HSV | 231° | 39.39% | 51.76% |
CMYK | 39.39% | 33.33% | 0.00% |
48.24% |
HEX | 50 | 58 | 84 |
Decimal | 80 | 88 | 132 |
Binary | 1010000 | 1011000 | 10000100 |
Octal | 120 | 130 | 204 |
Examples of css and html codes for elements with #505884 color. Also use rgb(80,88,132) instead hex code.
.myTextColor { color: #505884; }
<p style="color:#505884">This sample text font color is #505884.</p>
This text font color is #505884.
.myBgColor { background-color: #505884; }
<div style="background-color:#505884">Inner text</div>
This div background color is #505884.
.myBorderColor { border: 1px solid #505884; }
<div style="border:3px solid #505884">Div</div>
This div border color is #505884.
.myOpacity80 { color: #505884; opacity: 0.8; }
<p style="color:#505884;opacity:0.8;">80%</p>
Text with #505884 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505884;}
<p style="text-shadow: 3px 3px 1px #505884">Text here.</p>
This text has shadow with #505884 color.
.textShadow {text-shadow: 3px 3px 1px #505884, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505884, 5px 5px 20px red">Text here.</p>
This text has shadow with #505884 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505884, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505884, Direction=45, Strength=4)">Text</p>
This text has shadow with #505884 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505884; -webkit-box-shadow: 1px 1px 3px 2px #505884; box-shadow: 1px 1px 3px 2px #505884; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505884; -webkit-box-shadow: 1px 1px 3px 2px #505884; box-shadow:1px 1px 3px 2px #505884;">
Div content here</div>
This text has color #505884 on black background.
This text has color #505884 on white background.
This text has black color on #505884 background.
This text has white color on #505884 background.