HEX: #50397D
RGB: (80,57,125)
#50397D contains mainly red and blue colors. Web safe color of #50397D is #663366 (or #636).
#50397D color RGB value is (80,57,125).
RGB: (80,57,125) (31%,22%,49%)
R 80 of 255 = 31%
G 57 of 255 = 22%
B 125 of 255 = 49%
R + G + B ~ 34%. #50397D is quite dark color.
R + G + B =
80 + 57 + 125 = 262 (100%)
R 80 of 262 ~ 30.53%
G 57 of 262 ~ 21.76%
B 125 of 262 ~ 47.71%
#50397D color CMYK value is (36,54,0,51).
CMYK: (36,54,0,51) C36M54Y0K51 (36%,54%,0%,51%) (0.36/0.54/0.00/0.51)
50 | 39 | 7D | |
---|---|---|---|
RGB | 80 | 57 | 125 |
HSL | 260° | 37.36% | 35.69% |
HSB/HSV | 260° | 54.40% | 49.02% |
CMYK | 36.00% | 54.40% | 0.00% |
50.98% |
HEX | 50 | 39 | 7D |
Decimal | 80 | 57 | 125 |
Binary | 1010000 | 111001 | 1111101 |
Octal | 120 | 71 | 175 |
Examples of css and html codes for elements with #50397D color. Also use rgb(80,57,125) instead hex code.
.myTextColor { color: #50397D; }
<p style="color:#50397D">This sample text font color is #50397D.</p>
This text font color is #50397D.
.myBgColor { background-color: #50397D; }
<div style="background-color:#50397D">Inner text</div>
This div background color is #50397D.
.myBorderColor { border: 1px solid #50397D; }
<div style="border:3px solid #50397D">Div</div>
This div border color is #50397D.
.myOpacity80 { color: #50397D; opacity: 0.8; }
<p style="color:#50397D;opacity:0.8;">80%</p>
Text with #50397D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50397D;}
<p style="text-shadow: 3px 3px 1px #50397D">Text here.</p>
This text has shadow with #50397D color.
.textShadow {text-shadow: 3px 3px 1px #50397D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50397D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50397D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50397D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50397D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50397D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50397D; -webkit-box-shadow: 1px 1px 3px 2px #50397D; box-shadow: 1px 1px 3px 2px #50397D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50397D; -webkit-box-shadow: 1px 1px 3px 2px #50397D; box-shadow:1px 1px 3px 2px #50397D;">
Div content here</div>
This text has color #50397D on black background.
This text has color #50397D on white background.
This text has black color on #50397D background.
This text has white color on #50397D background.