HEX: #50176C
RGB: (80,23,108)
#50176C contains mainly red and blue colors. Web safe color of #50176C is #660066 (or #606).
#50176C color RGB value is (80,23,108).
RGB: (80,23,108) (31%,9%,42%)
R 80 of 255 = 31%
G 23 of 255 = 9%
B 108 of 255 = 42%
R + G + B ~ 27%. #50176C is quite dark color.
R + G + B =
80 + 23 + 108 = 211 (100%)
R 80 of 211 ~ 37.91%
G 23 of 211 ~ 10.9%
B 108 of 211 ~ 51.18%
#50176C color CMYK value is (26,79,0,58).
CMYK: (26,79,0,58) C26M79Y0K58 (26%,79%,0%,58%) (0.26/0.79/0.00/0.58)
50 | 17 | 6C | |
---|---|---|---|
RGB | 80 | 23 | 108 |
HSL | 280° | 64.89% | 25.69% |
HSB/HSV | 280° | 78.70% | 42.35% |
CMYK | 25.93% | 78.70% | 0.00% |
57.65% |
HEX | 50 | 17 | 6C |
Decimal | 80 | 23 | 108 |
Binary | 1010000 | 10111 | 1101100 |
Octal | 120 | 27 | 154 |
Examples of css and html codes for elements with #50176C color. Also use rgb(80,23,108) instead hex code.
.myTextColor { color: #50176C; }
<p style="color:#50176C">This sample text font color is #50176C.</p>
This text font color is #50176C.
.myBgColor { background-color: #50176C; }
<div style="background-color:#50176C">Inner text</div>
This div background color is #50176C.
.myBorderColor { border: 1px solid #50176C; }
<div style="border:3px solid #50176C">Div</div>
This div border color is #50176C.
.myOpacity80 { color: #50176C; opacity: 0.8; }
<p style="color:#50176C;opacity:0.8;">80%</p>
Text with #50176C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50176C;}
<p style="text-shadow: 3px 3px 1px #50176C">Text here.</p>
This text has shadow with #50176C color.
.textShadow {text-shadow: 3px 3px 1px #50176C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50176C, 5px 5px 20px red">Text here.</p>
This text has shadow with #50176C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50176C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50176C, Direction=45, Strength=4)">Text</p>
This text has shadow with #50176C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50176C; -webkit-box-shadow: 1px 1px 3px 2px #50176C; box-shadow: 1px 1px 3px 2px #50176C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50176C; -webkit-box-shadow: 1px 1px 3px 2px #50176C; box-shadow:1px 1px 3px 2px #50176C;">
Div content here</div>
This text has color #50176C on black background.
This text has color #50176C on white background.
This text has black color on #50176C background.
This text has white color on #50176C background.