HEX: #505476
RGB: (80,84,118)
#505476 contains red, green and blue colors in about the same proportion. Web safe color of #505476 is #666666 (or #666).
#505476 color RGB value is (80,84,118).
RGB: (80,84,118) (31%,33%,46%)
R 80 of 255 = 31%
G 84 of 255 = 33%
B 118 of 255 = 46%
R + G + B ~ 37%. #505476 is quite dark color.
R + G + B =
80 + 84 + 118 = 282 (100%)
R 80 of 282 ~ 28.37%
G 84 of 282 ~ 29.79%
B 118 of 282 ~ 41.84%
#505476 color CMYK value is (32,29,0,54).
CMYK: (32,29,0,54) C32M29Y0K54 (32%,29%,0%,54%) (0.32/0.29/0.00/0.54)
50 | 54 | 76 | |
---|---|---|---|
RGB | 80 | 84 | 118 |
HSL | 234° | 19.19% | 38.82% |
HSB/HSV | 234° | 32.20% | 46.27% |
CMYK | 32.20% | 28.81% | 0.00% |
53.73% |
HEX | 50 | 54 | 76 |
Decimal | 80 | 84 | 118 |
Binary | 1010000 | 1010100 | 1110110 |
Octal | 120 | 124 | 166 |
Examples of css and html codes for elements with #505476 color. Also use rgb(80,84,118) instead hex code.
.myTextColor { color: #505476; }
<p style="color:#505476">This sample text font color is #505476.</p>
This text font color is #505476.
.myBgColor { background-color: #505476; }
<div style="background-color:#505476">Inner text</div>
This div background color is #505476.
.myBorderColor { border: 1px solid #505476; }
<div style="border:3px solid #505476">Div</div>
This div border color is #505476.
.myOpacity80 { color: #505476; opacity: 0.8; }
<p style="color:#505476;opacity:0.8;">80%</p>
Text with #505476 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #505476;}
<p style="text-shadow: 3px 3px 1px #505476">Text here.</p>
This text has shadow with #505476 color.
.textShadow {text-shadow: 3px 3px 1px #505476, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #505476, 5px 5px 20px red">Text here.</p>
This text has shadow with #505476 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#505476, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#505476, Direction=45, Strength=4)">Text</p>
This text has shadow with #505476 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #505476; -webkit-box-shadow: 1px 1px 3px 2px #505476; box-shadow: 1px 1px 3px 2px #505476; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #505476; -webkit-box-shadow: 1px 1px 3px 2px #505476; box-shadow:1px 1px 3px 2px #505476;">
Div content here</div>
This text has color #505476 on black background.
This text has color #505476 on white background.
This text has black color on #505476 background.
This text has white color on #505476 background.