HEX: #50257C
RGB: (80,37,124)
#50257C contains mainly red and blue colors. Web safe color of #50257C is #663366 (or #636).
#50257C color RGB value is (80,37,124).
RGB: (80,37,124) (31%,15%,49%)
R 80 of 255 = 31%
G 37 of 255 = 15%
B 124 of 255 = 49%
R + G + B ~ 32%. #50257C is quite dark color.
R + G + B =
80 + 37 + 124 = 241 (100%)
R 80 of 241 ~ 33.2%
G 37 of 241 ~ 15.35%
B 124 of 241 ~ 51.45%
#50257C color CMYK value is (35,70,0,51).
CMYK: (35,70,0,51) C35M70Y0K51 (35%,70%,0%,51%) (0.35/0.70/0.00/0.51)
50 | 25 | 7C | |
---|---|---|---|
RGB | 80 | 37 | 124 |
HSL | 270° | 54.04% | 31.57% |
HSB/HSV | 270° | 70.16% | 48.63% |
CMYK | 35.48% | 70.16% | 0.00% |
51.37% |
HEX | 50 | 25 | 7C |
Decimal | 80 | 37 | 124 |
Binary | 1010000 | 100101 | 1111100 |
Octal | 120 | 45 | 174 |
Examples of css and html codes for elements with #50257C color. Also use rgb(80,37,124) instead hex code.
.myTextColor { color: #50257C; }
<p style="color:#50257C">This sample text font color is #50257C.</p>
This text font color is #50257C.
.myBgColor { background-color: #50257C; }
<div style="background-color:#50257C">Inner text</div>
This div background color is #50257C.
.myBorderColor { border: 1px solid #50257C; }
<div style="border:3px solid #50257C">Div</div>
This div border color is #50257C.
.myOpacity80 { color: #50257C; opacity: 0.8; }
<p style="color:#50257C;opacity:0.8;">80%</p>
Text with #50257C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50257C;}
<p style="text-shadow: 3px 3px 1px #50257C">Text here.</p>
This text has shadow with #50257C color.
.textShadow {text-shadow: 3px 3px 1px #50257C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50257C, 5px 5px 20px red">Text here.</p>
This text has shadow with #50257C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50257C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50257C, Direction=45, Strength=4)">Text</p>
This text has shadow with #50257C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50257C; -webkit-box-shadow: 1px 1px 3px 2px #50257C; box-shadow: 1px 1px 3px 2px #50257C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50257C; -webkit-box-shadow: 1px 1px 3px 2px #50257C; box-shadow:1px 1px 3px 2px #50257C;">
Div content here</div>
This text has color #50257C on black background.
This text has color #50257C on white background.
This text has black color on #50257C background.
This text has white color on #50257C background.