HEX: #50429D
RGB: (80,66,157)
#50429D contains mainly blue color. Web safe color of #50429D is #663399 (or #639).
#50429D color RGB value is (80,66,157).
RGB: (80,66,157) (31%,26%,62%)
R 80 of 255 = 31%
G 66 of 255 = 26%
B 157 of 255 = 62%
R + G + B ~ 40%. #50429D is middle color (not dark and not light).
R + G + B =
80 + 66 + 157 = 303 (100%)
R 80 of 303 ~ 26.4%
G 66 of 303 ~ 21.78%
B 157 of 303 ~ 51.82%
#50429D color CMYK value is (49,58,0,38).
CMYK: (49,58,0,38) C49M58Y0K38 (49%,58%,0%,38%) (0.49/0.58/0.00/0.38)
50 | 42 | 9D | |
---|---|---|---|
RGB | 80 | 66 | 157 |
HSL | 249° | 40.81% | 43.73% |
HSB/HSV | 249° | 57.96% | 61.57% |
CMYK | 49.04% | 57.96% | 0.00% |
38.43% |
HEX | 50 | 42 | 9D |
Decimal | 80 | 66 | 157 |
Binary | 1010000 | 1000010 | 10011101 |
Octal | 120 | 102 | 235 |
Examples of css and html codes for elements with #50429D color. Also use rgb(80,66,157) instead hex code.
.myTextColor { color: #50429D; }
<p style="color:#50429D">This sample text font color is #50429D.</p>
This text font color is #50429D.
.myBgColor { background-color: #50429D; }
<div style="background-color:#50429D">Inner text</div>
This div background color is #50429D.
.myBorderColor { border: 1px solid #50429D; }
<div style="border:3px solid #50429D">Div</div>
This div border color is #50429D.
.myOpacity80 { color: #50429D; opacity: 0.8; }
<p style="color:#50429D;opacity:0.8;">80%</p>
Text with #50429D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #50429D;}
<p style="text-shadow: 3px 3px 1px #50429D">Text here.</p>
This text has shadow with #50429D color.
.textShadow {text-shadow: 3px 3px 1px #50429D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #50429D, 5px 5px 20px red">Text here.</p>
This text has shadow with #50429D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#50429D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#50429D, Direction=45, Strength=4)">Text</p>
This text has shadow with #50429D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #50429D; -webkit-box-shadow: 1px 1px 3px 2px #50429D; box-shadow: 1px 1px 3px 2px #50429D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #50429D; -webkit-box-shadow: 1px 1px 3px 2px #50429D; box-shadow:1px 1px 3px 2px #50429D;">
Div content here</div>
This text has color #50429D on black background.
This text has color #50429D on white background.
This text has black color on #50429D background.
This text has white color on #50429D background.