HEX: #50409B
RGB: (80,64,155)
#50409B contains mainly blue color. Web safe color of #50409B is #663399 (or #639).
#50409B color RGB value is (80,64,155).
RGB: (80,64,155) (31%,25%,61%)
R 80 of 255 = 31%
G 64 of 255 = 25%
B 155 of 255 = 61%
R + G + B ~ 39%. #50409B is quite dark color.
R + G + B =
80 + 64 + 155 = 299 (100%)
R 80 of 299 ~ 26.76%
G 64 of 299 ~ 21.4%
B 155 of 299 ~ 51.84%
#50409B color CMYK value is (48,59,0,39).
CMYK: (48,59,0,39) C48M59Y0K39 (48%,59%,0%,39%) (0.48/0.59/0.00/0.39)
50 | 40 | 9B | |
---|---|---|---|
RGB | 80 | 64 | 155 |
HSL | 251° | 41.55% | 42.94% |
HSB/HSV | 251° | 58.71% | 60.78% |
CMYK | 48.39% | 58.71% | 0.00% |
39.22% |
HEX | 50 | 40 | 9B |
Decimal | 80 | 64 | 155 |
Binary | 1010000 | 1000000 | 10011011 |
Octal | 120 | 100 | 233 |
Examples of css and html codes for elements with #50409B color. Also use rgb(80,64,155) instead hex code.
.myTextColor { color: #50409B; }
<p style="color:#50409B">This sample text font color is #50409B.</p>
This text font color is #50409B.
.myBgColor { background-color: #50409B; }
<div style="background-color:#50409B">Inner text</div>
This div background color is #50409B.
.myBorderColor { border: 1px solid #50409B; }
<div style="border:3px solid #50409B">Div</div>
This div border color is #50409B.
.myOpacity80 { color: #50409B; opacity: 0.8; }
<p style="color:#50409B;opacity:0.8;">80%</p>
Text with #50409B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50409B;}
<p style="text-shadow: 3px 3px 1px #50409B">Text here.</p>
This text has shadow with #50409B color.
.textShadow {text-shadow: 3px 3px 1px #50409B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50409B, 5px 5px 20px red">Text here.</p>
This text has shadow with #50409B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50409B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50409B, Direction=45, Strength=4)">Text</p>
This text has shadow with #50409B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50409B; -webkit-box-shadow: 1px 1px 3px 2px #50409B; box-shadow: 1px 1px 3px 2px #50409B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50409B; -webkit-box-shadow: 1px 1px 3px 2px #50409B; box-shadow:1px 1px 3px 2px #50409B;">
Div content here</div>
This text has color #50409B on black background.
This text has color #50409B on white background.
This text has black color on #50409B background.
This text has white color on #50409B background.