HEX: #504499
RGB: (80,68,153)
#504499 contains mainly blue color. Web safe color of #504499 is #663399 (or #639).
#504499 color RGB value is (80,68,153).
RGB: (80,68,153) (31%,27%,60%)
R 80 of 255 = 31%
G 68 of 255 = 27%
B 153 of 255 = 60%
R + G + B ~ 39%. #504499 is quite dark color.
R + G + B =
80 + 68 + 153 = 301 (100%)
R 80 of 301 ~ 26.58%
G 68 of 301 ~ 22.59%
B 153 of 301 ~ 50.83%
#504499 color CMYK value is (48,56,0,40).
CMYK: (48,56,0,40) C48M56Y0K40 (48%,56%,0%,40%) (0.48/0.56/0.00/0.40)
50 | 44 | 99 | |
---|---|---|---|
RGB | 80 | 68 | 153 |
HSL | 248° | 38.46% | 43.33% |
HSB/HSV | 248° | 55.56% | 60.00% |
CMYK | 47.71% | 55.56% | 0.00% |
40.00% |
HEX | 50 | 44 | 99 |
Decimal | 80 | 68 | 153 |
Binary | 1010000 | 1000100 | 10011001 |
Octal | 120 | 104 | 231 |
Examples of css and html codes for elements with #504499 color. Also use rgb(80,68,153) instead hex code.
.myTextColor { color: #504499; }
<p style="color:#504499">This sample text font color is #504499.</p>
This text font color is #504499.
.myBgColor { background-color: #504499; }
<div style="background-color:#504499">Inner text</div>
This div background color is #504499.
.myBorderColor { border: 1px solid #504499; }
<div style="border:3px solid #504499">Div</div>
This div border color is #504499.
.myOpacity80 { color: #504499; opacity: 0.8; }
<p style="color:#504499;opacity:0.8;">80%</p>
Text with #504499 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504499;}
<p style="text-shadow: 3px 3px 1px #504499">Text here.</p>
This text has shadow with #504499 color.
.textShadow {text-shadow: 3px 3px 1px #504499, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504499, 5px 5px 20px red">Text here.</p>
This text has shadow with #504499 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504499, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504499, Direction=45, Strength=4)">Text</p>
This text has shadow with #504499 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504499; -webkit-box-shadow: 1px 1px 3px 2px #504499; box-shadow: 1px 1px 3px 2px #504499; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504499; -webkit-box-shadow: 1px 1px 3px 2px #504499; box-shadow:1px 1px 3px 2px #504499;">
Div content here</div>
This text has color #504499 on black background.
This text has color #504499 on white background.
This text has black color on #504499 background.
This text has white color on #504499 background.