HEX: #520673
RGB: (82,6,115)
#520673 contains mainly red and blue colors. Web safe color of #520673 is #660066 (or #606).
#520673 color RGB value is (82,6,115).
RGB: (82,6,115) (32%,2%,45%)
R 82 of 255 = 32%
G 6 of 255 = 2%
B 115 of 255 = 45%
R + G + B ~ 26%. #520673 is quite dark color.
R + G + B =
82 + 6 + 115 = 203 (100%)
R 82 of 203 ~ 40.39%
G 6 of 203 ~ 2.96%
B 115 of 203 ~ 56.65%
#520673 color CMYK value is (29,95,0,55).
CMYK: (29,95,0,55) C29M95Y0K55 (29%,95%,0%,55%) (0.29/0.95/0.00/0.55)
52 | 06 | 73 | |
---|---|---|---|
RGB | 82 | 6 | 115 |
HSL | 282° | 90.08% | 23.73% |
HSB/HSV | 282° | 94.78% | 45.10% |
CMYK | 28.70% | 94.78% | 0.00% |
54.90% |
HEX | 52 | 06 | 73 |
Decimal | 82 | 6 | 115 |
Binary | 1010010 | 110 | 1110011 |
Octal | 122 | 6 | 163 |
Examples of css and html codes for elements with #520673 color. Also use rgb(82,6,115) instead hex code.
.myTextColor { color: #520673; }
<p style="color:#520673">This sample text font color is #520673.</p>
This text font color is #520673.
.myBgColor { background-color: #520673; }
<div style="background-color:#520673">Inner text</div>
This div background color is #520673.
.myBorderColor { border: 1px solid #520673; }
<div style="border:3px solid #520673">Div</div>
This div border color is #520673.
.myOpacity80 { color: #520673; opacity: 0.8; }
<p style="color:#520673;opacity:0.8;">80%</p>
Text with #520673 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520673;}
<p style="text-shadow: 3px 3px 1px #520673">Text here.</p>
This text has shadow with #520673 color.
.textShadow {text-shadow: 3px 3px 1px #520673, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520673, 5px 5px 20px red">Text here.</p>
This text has shadow with #520673 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520673, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520673, Direction=45, Strength=4)">Text</p>
This text has shadow with #520673 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520673; -webkit-box-shadow: 1px 1px 3px 2px #520673; box-shadow: 1px 1px 3px 2px #520673; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520673; -webkit-box-shadow: 1px 1px 3px 2px #520673; box-shadow:1px 1px 3px 2px #520673;">
Div content here</div>
This text has color #520673 on black background.
This text has color #520673 on white background.
This text has black color on #520673 background.
This text has white color on #520673 background.