HEX: #521D10
RGB: (82,29,16)
#521D10 contains mainly red and green colors. Web safe color of #521D10 is #663300 (or #630).
#521D10 color RGB value is (82,29,16).
RGB: (82,29,16) (32%,11%,6%)
R 82 of 255 = 32%
G 29 of 255 = 11%
B 16 of 255 = 6%
R + G + B ~ 16%. #521D10 is dark color.
R + G + B =
82 + 29 + 16 = 127 (100%)
R 82 of 127 ~ 64.57%
G 29 of 127 ~ 22.83%
B 16 of 127 ~ 12.6%
#521D10 color CMYK value is (0,65,80,68).
CMYK: (0,65,80,68) C0M65Y80K68 (0%,65%,80%,68%) (0.00/0.65/0.80/0.68)
52 | 1D | 10 | |
---|---|---|---|
RGB | 82 | 29 | 16 |
HSL | 12° | 67.35% | 19.22% |
HSB/HSV | 12° | 80.49% | 32.16% |
CMYK | 0.00% | 64.63% | 80.49% |
67.84% |
HEX | 52 | 1D | 10 |
Decimal | 82 | 29 | 16 |
Binary | 1010010 | 11101 | 10000 |
Octal | 122 | 35 | 20 |
Examples of css and html codes for elements with #521D10 color. Also use rgb(82,29,16) instead hex code.
.myTextColor { color: #521D10; }
<p style="color:#521D10">This sample text font color is #521D10.</p>
This text font color is #521D10.
.myBgColor { background-color: #521D10; }
<div style="background-color:#521D10">Inner text</div>
This div background color is #521D10.
.myBorderColor { border: 1px solid #521D10; }
<div style="border:3px solid #521D10">Div</div>
This div border color is #521D10.
.myOpacity80 { color: #521D10; opacity: 0.8; }
<p style="color:#521D10;opacity:0.8;">80%</p>
Text with #521D10 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #521D10;}
<p style="text-shadow: 3px 3px 1px #521D10">Text here.</p>
This text has shadow with #521D10 color.
.textShadow {text-shadow: 3px 3px 1px #521D10, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #521D10, 5px 5px 20px red">Text here.</p>
This text has shadow with #521D10 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#521D10, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#521D10, Direction=45, Strength=4)">Text</p>
This text has shadow with #521D10 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #521D10; -webkit-box-shadow: 1px 1px 3px 2px #521D10; box-shadow: 1px 1px 3px 2px #521D10; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #521D10; -webkit-box-shadow: 1px 1px 3px 2px #521D10; box-shadow:1px 1px 3px 2px #521D10;">
Div content here</div>
This text has color #521D10 on black background.
This text has color #521D10 on white background.
This text has black color on #521D10 background.
This text has white color on #521D10 background.