HEX: #50304C
RGB: (80,48,76)
#50304C contains red, green and blue colors in about the same proportion. Web safe color of #50304C is #663333 (or #633).
#50304C color RGB value is (80,48,76).
RGB: (80,48,76) (31%,19%,30%)
R 80 of 255 = 31%
G 48 of 255 = 19%
B 76 of 255 = 30%
R + G + B ~ 27%. #50304C is quite dark color.
R + G + B =
80 + 48 + 76 = 204 (100%)
R 80 of 204 ~ 39.22%
G 48 of 204 ~ 23.53%
B 76 of 204 ~ 37.25%
#50304C color CMYK value is (0,40,5,69).
CMYK: (0,40,5,69) C0M40Y5K69 (0%,40%,5%,69%) (0.00/0.40/0.05/0.69)
50 | 30 | 4C | |
---|---|---|---|
RGB | 80 | 48 | 76 |
HSL | 308° | 25.00% | 25.10% |
HSB/HSV | 308° | 40.00% | 31.37% |
CMYK | 0.00% | 40.00% | 5.00% |
68.63% |
HEX | 50 | 30 | 4C |
Decimal | 80 | 48 | 76 |
Binary | 1010000 | 110000 | 1001100 |
Octal | 120 | 60 | 114 |
Examples of css and html codes for elements with #50304C color. Also use rgb(80,48,76) instead hex code.
.myTextColor { color: #50304C; }
<p style="color:#50304C">This sample text font color is #50304C.</p>
This text font color is #50304C.
.myBgColor { background-color: #50304C; }
<div style="background-color:#50304C">Inner text</div>
This div background color is #50304C.
.myBorderColor { border: 1px solid #50304C; }
<div style="border:3px solid #50304C">Div</div>
This div border color is #50304C.
.myOpacity80 { color: #50304C; opacity: 0.8; }
<p style="color:#50304C;opacity:0.8;">80%</p>
Text with #50304C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50304C;}
<p style="text-shadow: 3px 3px 1px #50304C">Text here.</p>
This text has shadow with #50304C color.
.textShadow {text-shadow: 3px 3px 1px #50304C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50304C, 5px 5px 20px red">Text here.</p>
This text has shadow with #50304C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50304C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50304C, Direction=45, Strength=4)">Text</p>
This text has shadow with #50304C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50304C; -webkit-box-shadow: 1px 1px 3px 2px #50304C; box-shadow: 1px 1px 3px 2px #50304C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50304C; -webkit-box-shadow: 1px 1px 3px 2px #50304C; box-shadow:1px 1px 3px 2px #50304C;">
Div content here</div>
This text has color #50304C on black background.
This text has color #50304C on white background.
This text has black color on #50304C background.
This text has white color on #50304C background.