HEX: #504877
RGB: (80,72,119)
#504877 contains red, green and blue colors in about the same proportion. Web safe color of #504877 is #663366 (or #636).
#504877 color RGB value is (80,72,119).
RGB: (80,72,119) (31%,28%,47%)
R 80 of 255 = 31%
G 72 of 255 = 28%
B 119 of 255 = 47%
R + G + B ~ 35%. #504877 is quite dark color.
R + G + B =
80 + 72 + 119 = 271 (100%)
R 80 of 271 ~ 29.52%
G 72 of 271 ~ 26.57%
B 119 of 271 ~ 43.91%
#504877 color CMYK value is (33,39,0,53).
CMYK: (33,39,0,53) C33M39Y0K53 (33%,39%,0%,53%) (0.33/0.39/0.00/0.53)
50 | 48 | 77 | |
---|---|---|---|
RGB | 80 | 72 | 119 |
HSL | 250° | 24.61% | 37.45% |
HSB/HSV | 250° | 39.50% | 46.67% |
CMYK | 32.77% | 39.50% | 0.00% |
53.33% |
HEX | 50 | 48 | 77 |
Decimal | 80 | 72 | 119 |
Binary | 1010000 | 1001000 | 1110111 |
Octal | 120 | 110 | 167 |
Examples of css and html codes for elements with #504877 color. Also use rgb(80,72,119) instead hex code.
.myTextColor { color: #504877; }
<p style="color:#504877">This sample text font color is #504877.</p>
This text font color is #504877.
.myBgColor { background-color: #504877; }
<div style="background-color:#504877">Inner text</div>
This div background color is #504877.
.myBorderColor { border: 1px solid #504877; }
<div style="border:3px solid #504877">Div</div>
This div border color is #504877.
.myOpacity80 { color: #504877; opacity: 0.8; }
<p style="color:#504877;opacity:0.8;">80%</p>
Text with #504877 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504877;}
<p style="text-shadow: 3px 3px 1px #504877">Text here.</p>
This text has shadow with #504877 color.
.textShadow {text-shadow: 3px 3px 1px #504877, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504877, 5px 5px 20px red">Text here.</p>
This text has shadow with #504877 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504877, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504877, Direction=45, Strength=4)">Text</p>
This text has shadow with #504877 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504877; -webkit-box-shadow: 1px 1px 3px 2px #504877; box-shadow: 1px 1px 3px 2px #504877; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504877; -webkit-box-shadow: 1px 1px 3px 2px #504877; box-shadow:1px 1px 3px 2px #504877;">
Div content here</div>
This text has color #504877 on black background.
This text has color #504877 on white background.
This text has black color on #504877 background.
This text has white color on #504877 background.