HEX: #520336
RGB: (82,3,54)
#520336 contains mainly red and blue colors. Web safe color of #520336 is #660033 (or #603).
#520336 color RGB value is (82,3,54).
RGB: (82,3,54) (32%,1%,21%)
R 82 of 255 = 32%
G 3 of 255 = 1%
B 54 of 255 = 21%
R + G + B ~ 18%. #520336 is dark color.
R + G + B =
82 + 3 + 54 = 139 (100%)
R 82 of 139 ~ 58.99%
G 3 of 139 ~ 2.16%
B 54 of 139 ~ 38.85%
#520336 color CMYK value is (0,96,34,68).
CMYK: (0,96,34,68) C0M96Y34K68 (0%,96%,34%,68%) (0.00/0.96/0.34/0.68)
52 | 03 | 36 | |
---|---|---|---|
RGB | 82 | 3 | 54 |
HSL | 321° | 92.94% | 16.67% |
HSB/HSV | 321° | 96.34% | 32.16% |
CMYK | 0.00% | 96.34% | 34.15% |
67.84% |
HEX | 52 | 03 | 36 |
Decimal | 82 | 3 | 54 |
Binary | 1010010 | 11 | 110110 |
Octal | 122 | 3 | 66 |
Examples of css and html codes for elements with #520336 color. Also use rgb(82,3,54) instead hex code.
.myTextColor { color: #520336; }
<p style="color:#520336">This sample text font color is #520336.</p>
This text font color is #520336.
.myBgColor { background-color: #520336; }
<div style="background-color:#520336">Inner text</div>
This div background color is #520336.
.myBorderColor { border: 1px solid #520336; }
<div style="border:3px solid #520336">Div</div>
This div border color is #520336.
.myOpacity80 { color: #520336; opacity: 0.8; }
<p style="color:#520336;opacity:0.8;">80%</p>
Text with #520336 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520336;}
<p style="text-shadow: 3px 3px 1px #520336">Text here.</p>
This text has shadow with #520336 color.
.textShadow {text-shadow: 3px 3px 1px #520336, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520336, 5px 5px 20px red">Text here.</p>
This text has shadow with #520336 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520336, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520336, Direction=45, Strength=4)">Text</p>
This text has shadow with #520336 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520336; -webkit-box-shadow: 1px 1px 3px 2px #520336; box-shadow: 1px 1px 3px 2px #520336; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520336; -webkit-box-shadow: 1px 1px 3px 2px #520336; box-shadow:1px 1px 3px 2px #520336;">
Div content here</div>
This text has color #520336 on black background.
This text has color #520336 on white background.
This text has black color on #520336 background.
This text has white color on #520336 background.