HEX: #521021
RGB: (82,16,33)
#521021 contains mainly red and blue colors. Web safe color of #521021 is #660033 (or #603).
#521021 color RGB value is (82,16,33).
RGB: (82,16,33) (32%,6%,13%)
R 82 of 255 = 32%
G 16 of 255 = 6%
B 33 of 255 = 13%
R + G + B ~ 17%. #521021 is dark color.
R + G + B =
82 + 16 + 33 = 131 (100%)
R 82 of 131 ~ 62.6%
G 16 of 131 ~ 12.21%
B 33 of 131 ~ 25.19%
#521021 color CMYK value is (0,80,60,68).
CMYK: (0,80,60,68) C0M80Y60K68 (0%,80%,60%,68%) (0.00/0.80/0.60/0.68)
52 | 10 | 21 | |
---|---|---|---|
RGB | 82 | 16 | 33 |
HSL | 345° | 67.35% | 19.22% |
HSB/HSV | 345° | 80.49% | 32.16% |
CMYK | 0.00% | 80.49% | 59.76% |
67.84% |
HEX | 52 | 10 | 21 |
Decimal | 82 | 16 | 33 |
Binary | 1010010 | 10000 | 100001 |
Octal | 122 | 20 | 41 |
Examples of css and html codes for elements with #521021 color. Also use rgb(82,16,33) instead hex code.
.myTextColor { color: #521021; }
<p style="color:#521021">This sample text font color is #521021.</p>
This text font color is #521021.
.myBgColor { background-color: #521021; }
<div style="background-color:#521021">Inner text</div>
This div background color is #521021.
.myBorderColor { border: 1px solid #521021; }
<div style="border:3px solid #521021">Div</div>
This div border color is #521021.
.myOpacity80 { color: #521021; opacity: 0.8; }
<p style="color:#521021;opacity:0.8;">80%</p>
Text with #521021 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #521021;}
<p style="text-shadow: 3px 3px 1px #521021">Text here.</p>
This text has shadow with #521021 color.
.textShadow {text-shadow: 3px 3px 1px #521021, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #521021, 5px 5px 20px red">Text here.</p>
This text has shadow with #521021 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#521021, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#521021, Direction=45, Strength=4)">Text</p>
This text has shadow with #521021 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #521021; -webkit-box-shadow: 1px 1px 3px 2px #521021; box-shadow: 1px 1px 3px 2px #521021; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #521021; -webkit-box-shadow: 1px 1px 3px 2px #521021; box-shadow:1px 1px 3px 2px #521021;">
Div content here</div>
This text has color #521021 on black background.
This text has color #521021 on white background.
This text has black color on #521021 background.
This text has white color on #521021 background.