HEX: #50397F
RGB: (80,57,127)
#50397F contains mainly red and blue colors. Web safe color of #50397F is #663366 (or #636).
#50397F color RGB value is (80,57,127).
RGB: (80,57,127)
(31%, 22%, 50%)
R 80 of 255 = 31%
G 57 of 255 = 22%
B 127 of 255 = 50%
R + G + B ~ 34%. #50397F is quite dark color.
R + G + B = 80 + 57 + 127 = 264 (100%)
R 80 of 264 ~ 30.3%
G 57 of 264 ~ 21.59%
B 127 of 264 ~ 48.11'%
#50397F color CMYK value is (37,55,0,50).
CMYK: (37,55,0,50) C37M55Y0K50 (37%,55%,0%,50%) (0.37/0.55/0.00/0.50)
Color #50397F in popluar color models
50 | 39 | 7F | |
---|---|---|---|
RGB | 80 | 57 | 127 |
HSL | 260° | 38.04% | 36.08% |
HSB/HSV | 260° | 55.12% | 49.80% |
CMYK | 37.01% | 55.12% | 0.00% |
50.20% |
Color #50397F in popluar number systems.
HEX | 50 | 39 | 7F |
Decimal | 80 | 57 | 127 |
Binary | 1010000 | 111001 | 1111111 |
Octal | 120 | 71 | 177 |
Shades of #50397F
Tints of #50397F
Examples of css and html codes for elements with #50397F color. Also use rgb(80,57,127) instead hex code.
.myTextColor { color: #50397F; }
<p style="color:#50397F">This sample text font color is #50397F.</p>
This text font color is #50397F.
.myBgColor { background-color: #50397F; }
<div style="background-color:#50397F">Inner text</div>
This div background color is #50397F.
.myBorderColor { border: 1px solid #50397F; }
<div style="border:3px solid #50397F">Div</div>
This div border color is #50397F.
.myOpacity80 { color: #50397F; opacity: 0.8; }
<p style="color:#50397F;opacity:0.8;">80%</p>
Text with #50397F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50397F;}
<p style="text-shadow: 3px 3px 1px #50397F">Text here.</p>
This text has shadow with #50397F color.
.textShadow {text-shadow: 3px 3px 1px #50397F', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50397F, 5px 5px 20px red">Text here.</p>
This text has shadow with #50397F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50397F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50397F, Direction=45, Strength=4)">Text</p>
This text has shadow with #50397F and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #50397F;
-webkit-box-shadow: 1px 1px 3px 2px #50397F;
box-shadow: 1px 1px 3px 2px #50397F;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #50397F; -webkit-box-shadow: 1px 1px 3px 2px #50397F; box-shadow:1px 1px 3px 2px #50397F;">
Div content here
</div>
This text has color #50397F on black background.
This text has color #50397F on white background.
This text has black color on #50397F background.
This text has white color on #50397F background.
Complementary color for #hex is #AFC680.