HEX: #520950
RGB: (82,9,80)
#520950 contains mainly red and blue colors. Web safe color of #520950 is #660066 (or #606).
#520950 color RGB value is (82,9,80).
RGB: (82,9,80)
(32%, 4%, 31%)
R 82 of 255 = 32%
G 9 of 255 = 4%
B 80 of 255 = 31%
R + G + B ~ 22%. #520950 is dark color.
R + G + B = 82 + 9 + 80 = 171 (100%)
R 82 of 171 ~ 47.95%
G 9 of 171 ~ 5.26%
B 80 of 171 ~ 46.78'%
#520950 color CMYK value is (0,89,2,68).
CMYK: (0,89,2,68)
C0M89Y2K68 (0%, 89%, 2%, 68%)
(0.00 / 0.89 / 0.02 / 0.68)
Color #520950 in popluar color models
52 | 09 | 50 | |
---|---|---|---|
RGB | 82 | 9 | 80 |
HSL | 302° | 80.22% | 17.84% |
HSB/HSV | 302° | 89.02% | 32.16% |
CMYK | 0.00% | 89.02% | 2.44% |
67.84% |
Color #520950 in popluar number systems.
HEX | 52 | 09 | 50 |
Decimal | 82 | 9 | 80 |
Binary | 1010010 | 1001 | 1010000 |
Octal | 122 | 11 | 120 |
Shades of #520950
Tints of #520950
Examples of css and html codes for elements with #520950 color. Also use rgb(82,9,80) instead hex code.
.myTextColor { color: #520950; }
<p style="color:#520950">This sample text font color is #520950.</p>
This text font color is #520950.
.myBgColor { background-color: #520950; }
<div style="background-color:#520950">Inner text</div>
This div background color is #520950.
.myBorderColor { border: 1px solid #520950; }
<div style="border:3px solid #520950">Div</div>
This div border color is #520950.
.myOpacity80 { color: #520950; opacity: 0.8; }
<p style="color:#520950;opacity:0.8;">80%</p>
Text with #520950 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520950;}
<p style="text-shadow: 3px 3px 1px #520950">Text here.</p>
This text has shadow with #520950 color.
.textShadow {text-shadow: 3px 3px 1px #520950', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520950, 5px 5px 20px red">Text here.</p>
This text has shadow with #520950 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520950, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520950, Direction=45, Strength=4)">Text</p>
This text has shadow with #520950 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #520950;
-webkit-box-shadow: 1px 1px 3px 2px #520950;
box-shadow: 1px 1px 3px 2px #520950;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #520950; -webkit-box-shadow: 1px 1px 3px 2px #520950; box-shadow:1px 1px 3px 2px #520950;">
Div content here
</div>
This text has color #520950 on black background.
This text has color #520950 on white background.
This text has black color on #520950 background.
This text has white color on #520950 background.
Complementary color for #hex is #ADF6AF.