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