HEX: #50396A
RGB: (80,57,106)
#50396A contains red, green and blue colors in about the same proportion. Web safe color of #50396A is #663366 (or #636).
#50396A color RGB value is (80,57,106).
RGB: (80,57,106) (31%,22%,42%)
R 80 of 255 = 31%
G 57 of 255 = 22%
B 106 of 255 = 42%
R + G + B ~ 32%. #50396A is quite dark color.
R + G + B =
80 + 57 + 106 = 243 (100%)
R 80 of 243 ~ 32.92%
G 57 of 243 ~ 23.46%
B 106 of 243 ~ 43.62%
#50396A color CMYK value is (25,46,0,58).
CMYK: (25,46,0,58) C25M46Y0K58 (25%,46%,0%,58%) (0.25/0.46/0.00/0.58)
50 | 39 | 6A | |
---|---|---|---|
RGB | 80 | 57 | 106 |
HSL | 268° | 30.06% | 31.96% |
HSB/HSV | 268° | 46.23% | 41.57% |
CMYK | 24.53% | 46.23% | 0.00% |
58.43% |
HEX | 50 | 39 | 6A |
Decimal | 80 | 57 | 106 |
Binary | 1010000 | 111001 | 1101010 |
Octal | 120 | 71 | 152 |
Examples of css and html codes for elements with #50396A color. Also use rgb(80,57,106) instead hex code.
.myTextColor { color: #50396A; }
<p style="color:#50396A">This sample text font color is #50396A.</p>
This text font color is #50396A.
.myBgColor { background-color: #50396A; }
<div style="background-color:#50396A">Inner text</div>
This div background color is #50396A.
.myBorderColor { border: 1px solid #50396A; }
<div style="border:3px solid #50396A">Div</div>
This div border color is #50396A.
.myOpacity80 { color: #50396A; opacity: 0.8; }
<p style="color:#50396A;opacity:0.8;">80%</p>
Text with #50396A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50396A;}
<p style="text-shadow: 3px 3px 1px #50396A">Text here.</p>
This text has shadow with #50396A color.
.textShadow {text-shadow: 3px 3px 1px #50396A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50396A, 5px 5px 20px red">Text here.</p>
This text has shadow with #50396A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50396A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50396A, Direction=45, Strength=4)">Text</p>
This text has shadow with #50396A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50396A; -webkit-box-shadow: 1px 1px 3px 2px #50396A; box-shadow: 1px 1px 3px 2px #50396A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50396A; -webkit-box-shadow: 1px 1px 3px 2px #50396A; box-shadow:1px 1px 3px 2px #50396A;">
Div content here</div>
This text has color #50396A on black background.
This text has color #50396A on white background.
This text has black color on #50396A background.
This text has white color on #50396A background.