HEX: #50175D
RGB: (80,23,93)
#50175D contains mainly red and blue colors. Web safe color of #50175D is #660066 (or #606).
#50175D color RGB value is (80,23,93).
RGB: (80,23,93) (31%,9%,36%)
R 80 of 255 = 31%
G 23 of 255 = 9%
B 93 of 255 = 36%
R + G + B ~ 25%. #50175D is quite dark color.
R + G + B =
80 + 23 + 93 = 196 (100%)
R 80 of 196 ~ 40.82%
G 23 of 196 ~ 11.73%
B 93 of 196 ~ 47.45%
#50175D color CMYK value is (14,75,0,64).
CMYK: (14,75,0,64) C14M75Y0K64 (14%,75%,0%,64%) (0.14/0.75/0.00/0.64)
50 | 17 | 5D | |
---|---|---|---|
RGB | 80 | 23 | 93 |
HSL | 289° | 60.34% | 22.75% |
HSB/HSV | 289° | 75.27% | 36.47% |
CMYK | 13.98% | 75.27% | 0.00% |
63.53% |
HEX | 50 | 17 | 5D |
Decimal | 80 | 23 | 93 |
Binary | 1010000 | 10111 | 1011101 |
Octal | 120 | 27 | 135 |
Examples of css and html codes for elements with #50175D color. Also use rgb(80,23,93) instead hex code.
.myTextColor { color: #50175D; }
<p style="color:#50175D">This sample text font color is #50175D.</p>
This text font color is #50175D.
.myBgColor { background-color: #50175D; }
<div style="background-color:#50175D">Inner text</div>
This div background color is #50175D.
.myBorderColor { border: 1px solid #50175D; }
<div style="border:3px solid #50175D">Div</div>
This div border color is #50175D.
.myOpacity80 { color: #50175D; opacity: 0.8; }
<p style="color:#50175D;opacity:0.8;">80%</p>
Text with #50175D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50175D;}
<p style="text-shadow: 3px 3px 1px #50175D">Text here.</p>
This text has shadow with #50175D color.
.textShadow {text-shadow: 3px 3px 1px #50175D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50175D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50175D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50175D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50175D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50175D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50175D; -webkit-box-shadow: 1px 1px 3px 2px #50175D; box-shadow: 1px 1px 3px 2px #50175D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50175D; -webkit-box-shadow: 1px 1px 3px 2px #50175D; box-shadow:1px 1px 3px 2px #50175D;">
Div content here</div>
This text has color #50175D on black background.
This text has color #50175D on white background.
This text has black color on #50175D background.
This text has white color on #50175D background.