HEX: #50489F
RGB: (80,72,159)
#50489F contains mainly blue color. Web safe color of #50489F is #663399 (or #639).
#50489F color RGB value is (80,72,159).
RGB: (80,72,159)
(31%, 28%, 62%)
R 80 of 255 = 31%
G 72 of 255 = 28%
B 159 of 255 = 62%
R + G + B ~ 40%. #50489F is middle color (not dark and not light).
R + G + B = 80 + 72 + 159 = 311 (100%)
R 80 of 311 ~ 25.72%
G 72 of 311 ~ 23.15%
B 159 of 311 ~ 51.13'%
#50489F color CMYK value is (50,55,0,38).
CMYK: (50,55,0,38)
C50M55Y0K38 (50%, 55%, 0%, 38%)
(0.50 / 0.55 / 0.00 / 0.38)
Color #50489F in popluar color models
50 | 48 | 9F | |
---|---|---|---|
RGB | 80 | 72 | 159 |
HSL | 246° | 37.66% | 45.29% |
HSB/HSV | 246° | 54.72% | 62.35% |
CMYK | 49.69% | 54.72% | 0.00% |
37.65% |
Color #50489F in popluar number systems.
HEX | 50 | 48 | 9F |
Decimal | 80 | 72 | 159 |
Binary | 1010000 | 1001000 | 10011111 |
Octal | 120 | 110 | 237 |
Shades of #50489F
Tints of #50489F
Examples of css and html codes for elements with #50489F color. Also use rgb(80,72,159) instead hex code.
.myTextColor { color: #50489F; }
<p style="color:#50489F">This sample text font color is #50489F.</p>
This text font color is #50489F.
.myBgColor { background-color: #50489F; }
<div style="background-color:#50489F">Inner text</div>
This div background color is #50489F.
.myBorderColor { border: 1px solid #50489F; }
<div style="border:3px solid #50489F">Div</div>
This div border color is #50489F.
.myOpacity80 { color: #50489F; opacity: 0.8; }
<p style="color:#50489F;opacity:0.8;">80%</p>
Text with #50489F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50489F;}
<p style="text-shadow: 3px 3px 1px #50489F">Text here.</p>
This text has shadow with #50489F color.
.textShadow {text-shadow: 3px 3px 1px #50489F', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50489F, 5px 5px 20px red">Text here.</p>
This text has shadow with #50489F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50489F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50489F, Direction=45, Strength=4)">Text</p>
This text has shadow with #50489F and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #50489F;
-webkit-box-shadow: 1px 1px 3px 2px #50489F;
box-shadow: 1px 1px 3px 2px #50489F;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #50489F; -webkit-box-shadow: 1px 1px 3px 2px #50489F; box-shadow:1px 1px 3px 2px #50489F;">
Div content here
</div>
This text has color #50489F on black background.
This text has color #50489F on white background.
This text has black color on #50489F background.
This text has white color on #50489F background.
Complementary color for #hex is #AFB760.