HEX: #521335
RGB: (82,19,53)
#521335 contains mainly red and blue colors. Web safe color of #521335 is #660033 (or #603).
#521335 color RGB value is (82,19,53).
RGB: (82,19,53) (32%,7%,21%)
R 82 of 255 = 32%
G 19 of 255 = 7%
B 53 of 255 = 21%
R + G + B ~ 20%. #521335 is dark color.
R + G + B =
82 + 19 + 53 = 154 (100%)
R 82 of 154 ~ 53.25%
G 19 of 154 ~ 12.34%
B 53 of 154 ~ 34.42%
#521335 color CMYK value is (0,77,35,68).
CMYK: (0,77,35,68) C0M77Y35K68 (0%,77%,35%,68%) (0.00/0.77/0.35/0.68)
52 | 13 | 35 | |
---|---|---|---|
RGB | 82 | 19 | 53 |
HSL | 328° | 62.38% | 19.80% |
HSB/HSV | 328° | 76.83% | 32.16% |
CMYK | 0.00% | 76.83% | 35.37% |
67.84% |
HEX | 52 | 13 | 35 |
Decimal | 82 | 19 | 53 |
Binary | 1010010 | 10011 | 110101 |
Octal | 122 | 23 | 65 |
Examples of css and html codes for elements with #521335 color. Also use rgb(82,19,53) instead hex code.
.myTextColor { color: #521335; }
<p style="color:#521335">This sample text font color is #521335.</p>
This text font color is #521335.
.myBgColor { background-color: #521335; }
<div style="background-color:#521335">Inner text</div>
This div background color is #521335.
.myBorderColor { border: 1px solid #521335; }
<div style="border:3px solid #521335">Div</div>
This div border color is #521335.
.myOpacity80 { color: #521335; opacity: 0.8; }
<p style="color:#521335;opacity:0.8;">80%</p>
Text with #521335 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #521335;}
<p style="text-shadow: 3px 3px 1px #521335">Text here.</p>
This text has shadow with #521335 color.
.textShadow {text-shadow: 3px 3px 1px #521335, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #521335, 5px 5px 20px red">Text here.</p>
This text has shadow with #521335 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#521335, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#521335, Direction=45, Strength=4)">Text</p>
This text has shadow with #521335 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #521335; -webkit-box-shadow: 1px 1px 3px 2px #521335; box-shadow: 1px 1px 3px 2px #521335; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #521335; -webkit-box-shadow: 1px 1px 3px 2px #521335; box-shadow:1px 1px 3px 2px #521335;">
Div content here</div>
This text has color #521335 on black background.
This text has color #521335 on white background.
This text has black color on #521335 background.
This text has white color on #521335 background.