HEX: #520086
RGB: (82,0,134)
#520086 contains only red and blue colors. Web safe color of #520086 is #660099 (or #609).
#520086 color RGB value is (82,0,134).
RGB: (82,0,134) (32%,0%,53%)
R 82 of 255 = 32%
G 0 of 255 = 0%
B 134 of 255 = 53%
R + G + B ~ 28%. #520086 is quite dark color.
R + G + B =
82 + 0 + 134 = 216 (100%)
R 82 of 216 ~ 37.96%
G 0 of 216 ~ 0%
B 134 of 216 ~ 62.04%
#520086 color CMYK value is (39,100,0,47).
CMYK: (39,100,0,47) C39M100Y0K47 (39%,100%,0%,47%) (0.39/1.00/0.00/0.47)
52 | 00 | 86 | |
---|---|---|---|
RGB | 82 | 0 | 134 |
HSL | 277° | 100.00% | 26.27% |
HSB/HSV | 277° | 100.00% | 52.55% |
CMYK | 38.81% | 100.00% | 0.00% |
47.45% |
HEX | 52 | 00 | 86 |
Decimal | 82 | 0 | 134 |
Binary | 1010010 | 0 | 10000110 |
Octal | 122 | 0 | 206 |
Examples of css and html codes for elements with #520086 color. Also use rgb(82,0,134) instead hex code.
.myTextColor { color: #520086; }
<p style="color:#520086">This sample text font color is #520086.</p>
This text font color is #520086.
.myBgColor { background-color: #520086; }
<div style="background-color:#520086">Inner text</div>
This div background color is #520086.
.myBorderColor { border: 1px solid #520086; }
<div style="border:3px solid #520086">Div</div>
This div border color is #520086.
.myOpacity80 { color: #520086; opacity: 0.8; }
<p style="color:#520086;opacity:0.8;">80%</p>
Text with #520086 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520086;}
<p style="text-shadow: 3px 3px 1px #520086">Text here.</p>
This text has shadow with #520086 color.
.textShadow {text-shadow: 3px 3px 1px #520086, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520086, 5px 5px 20px red">Text here.</p>
This text has shadow with #520086 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520086, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520086, Direction=45, Strength=4)">Text</p>
This text has shadow with #520086 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520086; -webkit-box-shadow: 1px 1px 3px 2px #520086; box-shadow: 1px 1px 3px 2px #520086; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520086; -webkit-box-shadow: 1px 1px 3px 2px #520086; box-shadow:1px 1px 3px 2px #520086;">
Div content here</div>
This text has color #520086 on black background.
This text has color #520086 on white background.
This text has black color on #520086 background.
This text has white color on #520086 background.