HEX: #504999
RGB: (80,73,153)
#504999 contains mainly blue color. Web safe color of #504999 is #663399 (or #639).
#504999 color RGB value is (80,73,153).
RGB: (80,73,153) (31%,29%,60%)
R 80 of 255 = 31%
G 73 of 255 = 29%
B 153 of 255 = 60%
R + G + B ~ 40%. #504999 is middle color (not dark and not light).
R + G + B =
80 + 73 + 153 = 306 (100%)
R 80 of 306 ~ 26.14%
G 73 of 306 ~ 23.86%
B 153 of 306 ~ 50%
#504999 color CMYK value is (48,52,0,40).
CMYK: (48,52,0,40) C48M52Y0K40 (48%,52%,0%,40%) (0.48/0.52/0.00/0.40)
50 | 49 | 99 | |
---|---|---|---|
RGB | 80 | 73 | 153 |
HSL | 245° | 35.40% | 44.31% |
HSB/HSV | 245° | 52.29% | 60.00% |
CMYK | 47.71% | 52.29% | 0.00% |
40.00% |
HEX | 50 | 49 | 99 |
Decimal | 80 | 73 | 153 |
Binary | 1010000 | 1001001 | 10011001 |
Octal | 120 | 111 | 231 |
Examples of css and html codes for elements with #504999 color. Also use rgb(80,73,153) instead hex code.
.myTextColor { color: #504999; }
<p style="color:#504999">This sample text font color is #504999.</p>
This text font color is #504999.
.myBgColor { background-color: #504999; }
<div style="background-color:#504999">Inner text</div>
This div background color is #504999.
.myBorderColor { border: 1px solid #504999; }
<div style="border:3px solid #504999">Div</div>
This div border color is #504999.
.myOpacity80 { color: #504999; opacity: 0.8; }
<p style="color:#504999;opacity:0.8;">80%</p>
Text with #504999 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504999;}
<p style="text-shadow: 3px 3px 1px #504999">Text here.</p>
This text has shadow with #504999 color.
.textShadow {text-shadow: 3px 3px 1px #504999, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504999, 5px 5px 20px red">Text here.</p>
This text has shadow with #504999 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504999, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504999, Direction=45, Strength=4)">Text</p>
This text has shadow with #504999 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504999; -webkit-box-shadow: 1px 1px 3px 2px #504999; box-shadow: 1px 1px 3px 2px #504999; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504999; -webkit-box-shadow: 1px 1px 3px 2px #504999; box-shadow:1px 1px 3px 2px #504999;">
Div content here</div>
This text has color #504999 on black background.
This text has color #504999 on white background.
This text has black color on #504999 background.
This text has white color on #504999 background.