HEX: #50426B
RGB: (80,66,107)
#50426B contains red, green and blue colors in about the same proportion. Web safe color of #50426B is #663366 (or #636).
#50426B color RGB value is (80,66,107).
RGB: (80,66,107) (31%,26%,42%)
R 80 of 255 = 31%
G 66 of 255 = 26%
B 107 of 255 = 42%
R + G + B ~ 33%. #50426B is quite dark color.
R + G + B =
80 + 66 + 107 = 253 (100%)
R 80 of 253 ~ 31.62%
G 66 of 253 ~ 26.09%
B 107 of 253 ~ 42.29%
#50426B color CMYK value is (25,38,0,58).
CMYK: (25,38,0,58) C25M38Y0K58 (25%,38%,0%,58%) (0.25/0.38/0.00/0.58)
50 | 42 | 6B | |
---|---|---|---|
RGB | 80 | 66 | 107 |
HSL | 260° | 23.70% | 33.92% |
HSB/HSV | 260° | 38.32% | 41.96% |
CMYK | 25.23% | 38.32% | 0.00% |
58.04% |
HEX | 50 | 42 | 6B |
Decimal | 80 | 66 | 107 |
Binary | 1010000 | 1000010 | 1101011 |
Octal | 120 | 102 | 153 |
Examples of css and html codes for elements with #50426B color. Also use rgb(80,66,107) instead hex code.
.myTextColor { color: #50426B; }
<p style="color:#50426B">This sample text font color is #50426B.</p>
This text font color is #50426B.
.myBgColor { background-color: #50426B; }
<div style="background-color:#50426B">Inner text</div>
This div background color is #50426B.
.myBorderColor { border: 1px solid #50426B; }
<div style="border:3px solid #50426B">Div</div>
This div border color is #50426B.
.myOpacity80 { color: #50426B; opacity: 0.8; }
<p style="color:#50426B;opacity:0.8;">80%</p>
Text with #50426B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50426B;}
<p style="text-shadow: 3px 3px 1px #50426B">Text here.</p>
This text has shadow with #50426B color.
.textShadow {text-shadow: 3px 3px 1px #50426B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50426B, 5px 5px 20px red">Text here.</p>
This text has shadow with #50426B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50426B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50426B, Direction=45, Strength=4)">Text</p>
This text has shadow with #50426B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50426B; -webkit-box-shadow: 1px 1px 3px 2px #50426B; box-shadow: 1px 1px 3px 2px #50426B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50426B; -webkit-box-shadow: 1px 1px 3px 2px #50426B; box-shadow:1px 1px 3px 2px #50426B;">
Div content here</div>
This text has color #50426B on black background.
This text has color #50426B on white background.
This text has black color on #50426B background.
This text has white color on #50426B background.