HEX: #504673
RGB: (80,70,115)
#504673 contains red, green and blue colors in about the same proportion. Web safe color of #504673 is #663366 (or #636).
#504673 color RGB value is (80,70,115).
RGB: (80,70,115) (31%,27%,45%)
R 80 of 255 = 31%
G 70 of 255 = 27%
B 115 of 255 = 45%
R + G + B ~ 34%. #504673 is quite dark color.
R + G + B =
80 + 70 + 115 = 265 (100%)
R 80 of 265 ~ 30.19%
G 70 of 265 ~ 26.42%
B 115 of 265 ~ 43.4%
#504673 color CMYK value is (30,39,0,55).
CMYK: (30,39,0,55) C30M39Y0K55 (30%,39%,0%,55%) (0.30/0.39/0.00/0.55)
50 | 46 | 73 | |
---|---|---|---|
RGB | 80 | 70 | 115 |
HSL | 253° | 24.32% | 36.27% |
HSB/HSV | 253° | 39.13% | 45.10% |
CMYK | 30.43% | 39.13% | 0.00% |
54.90% |
HEX | 50 | 46 | 73 |
Decimal | 80 | 70 | 115 |
Binary | 1010000 | 1000110 | 1110011 |
Octal | 120 | 106 | 163 |
Examples of css and html codes for elements with #504673 color. Also use rgb(80,70,115) instead hex code.
.myTextColor { color: #504673; }
<p style="color:#504673">This sample text font color is #504673.</p>
This text font color is #504673.
.myBgColor { background-color: #504673; }
<div style="background-color:#504673">Inner text</div>
This div background color is #504673.
.myBorderColor { border: 1px solid #504673; }
<div style="border:3px solid #504673">Div</div>
This div border color is #504673.
.myOpacity80 { color: #504673; opacity: 0.8; }
<p style="color:#504673;opacity:0.8;">80%</p>
Text with #504673 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #504673;}
<p style="text-shadow: 3px 3px 1px #504673">Text here.</p>
This text has shadow with #504673 color.
.textShadow {text-shadow: 3px 3px 1px #504673, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #504673, 5px 5px 20px red">Text here.</p>
This text has shadow with #504673 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#504673, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#504673, Direction=45, Strength=4)">Text</p>
This text has shadow with #504673 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #504673; -webkit-box-shadow: 1px 1px 3px 2px #504673; box-shadow: 1px 1px 3px 2px #504673; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #504673; -webkit-box-shadow: 1px 1px 3px 2px #504673; box-shadow:1px 1px 3px 2px #504673;">
Div content here</div>
This text has color #504673 on black background.
This text has color #504673 on white background.
This text has black color on #504673 background.
This text has white color on #504673 background.