HEX: #504A84
RGB: (80,74,132)
#504A84 contains red, green and blue colors in about the same proportion. Web safe color of #504A84 is #663399 (or #639).
#504A84 color RGB value is (80,74,132).
RGB: (80,74,132)
(31%, 29%, 52%)
R 80 of 255 = 31%
G 74 of 255 = 29%
B 132 of 255 = 52%
R + G + B ~ 37%. #504A84 is quite dark color.
R + G + B = 80 + 74 + 132 = 286 (100%)
R 80 of 286 ~ 27.97%
G 74 of 286 ~ 25.87%
B 132 of 286 ~ 46.15'%
#504A84 color CMYK value is (39,44,0,48).
CMYK: (39,44,0,48)
C39M44Y0K48 (39%, 44%, 0%, 48%)
(0.39 / 0.44 / 0.00 / 0.48)
Color #504A84 in popluar color models
50 | 4A | 84 | |
---|---|---|---|
RGB | 80 | 74 | 132 |
HSL | 246° | 28.16% | 40.39% |
HSB/HSV | 246° | 43.94% | 51.76% |
CMYK | 39.39% | 43.94% | 0.00% |
48.24% |
Color #504A84 in popluar number systems.
HEX | 50 | 4A | 84 |
Decimal | 80 | 74 | 132 |
Binary | 1010000 | 1001010 | 10000100 |
Octal | 120 | 112 | 204 |
Shades of #504A84
Tints of #504A84
Examples of css and html codes for elements with #504A84 color. Also use rgb(80,74,132) instead hex code.
.myTextColor { color: #504A84; }
<p style="color:#504A84">This sample text font color is #504A84.</p>
This text font color is #504A84.
.myBgColor { background-color: #504A84; }
<div style="background-color:#504A84">Inner text</div>
This div background color is #504A84.
.myBorderColor { border: 1px solid #504A84; }
<div style="border:3px solid #504A84">Div</div>
This div border color is #504A84.
.myOpacity80 { color: #504A84; opacity: 0.8; }
<p style="color:#504A84;opacity:0.8;">80%</p>
Text with #504A84 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504A84;}
<p style="text-shadow: 3px 3px 1px #504A84">Text here.</p>
This text has shadow with #504A84 color.
.textShadow {text-shadow: 3px 3px 1px #504A84', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504A84, 5px 5px 20px red">Text here.</p>
This text has shadow with #504A84 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504A84, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504A84, Direction=45, Strength=4)">Text</p>
This text has shadow with #504A84 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #504A84;
-webkit-box-shadow: 1px 1px 3px 2px #504A84;
box-shadow: 1px 1px 3px 2px #504A84;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #504A84; -webkit-box-shadow: 1px 1px 3px 2px #504A84; box-shadow:1px 1px 3px 2px #504A84;">
Div content here
</div>
This text has color #504A84 on black background.
This text has color #504A84 on white background.
This text has black color on #504A84 background.
This text has white color on #504A84 background.
Complementary color for #hex is #AFB57B.