HEX: #504790
RGB: (80,71,144)
#504790 contains mainly blue color. Web safe color of #504790 is #663399 (or #639).
#504790 color RGB value is (80,71,144).
RGB: (80,71,144) (31%,28%,56%)
R 80 of 255 = 31%
G 71 of 255 = 28%
B 144 of 255 = 56%
R + G + B ~ 38%. #504790 is quite dark color.
R + G + B =
80 + 71 + 144 = 295 (100%)
R 80 of 295 ~ 27.12%
G 71 of 295 ~ 24.07%
B 144 of 295 ~ 48.81%
#504790 color CMYK value is (44,51,0,44).
CMYK: (44,51,0,44) C44M51Y0K44 (44%,51%,0%,44%) (0.44/0.51/0.00/0.44)
50 | 47 | 90 | |
---|---|---|---|
RGB | 80 | 71 | 144 |
HSL | 247° | 33.95% | 42.16% |
HSB/HSV | 247° | 50.69% | 56.47% |
CMYK | 44.44% | 50.69% | 0.00% |
43.53% |
HEX | 50 | 47 | 90 |
Decimal | 80 | 71 | 144 |
Binary | 1010000 | 1000111 | 10010000 |
Octal | 120 | 107 | 220 |
Examples of css and html codes for elements with #504790 color. Also use rgb(80,71,144) instead hex code.
.myTextColor { color: #504790; }
<p style="color:#504790">This sample text font color is #504790.</p>
This text font color is #504790.
.myBgColor { background-color: #504790; }
<div style="background-color:#504790">Inner text</div>
This div background color is #504790.
.myBorderColor { border: 1px solid #504790; }
<div style="border:3px solid #504790">Div</div>
This div border color is #504790.
.myOpacity80 { color: #504790; opacity: 0.8; }
<p style="color:#504790;opacity:0.8;">80%</p>
Text with #504790 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504790;}
<p style="text-shadow: 3px 3px 1px #504790">Text here.</p>
This text has shadow with #504790 color.
.textShadow {text-shadow: 3px 3px 1px #504790, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504790, 5px 5px 20px red">Text here.</p>
This text has shadow with #504790 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504790, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504790, Direction=45, Strength=4)">Text</p>
This text has shadow with #504790 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504790; -webkit-box-shadow: 1px 1px 3px 2px #504790; box-shadow: 1px 1px 3px 2px #504790; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504790; -webkit-box-shadow: 1px 1px 3px 2px #504790; box-shadow:1px 1px 3px 2px #504790;">
Div content here</div>
This text has color #504790 on black background.
This text has color #504790 on white background.
This text has black color on #504790 background.
This text has white color on #504790 background.