HEX: #521C0A
RGB: (82,28,10)
#521C0A contains mainly red and green colors. Web safe color of #521C0A is #663300 (or #630).
#521C0A color RGB value is (82,28,10).
RGB: (82,28,10) (32%,11%,4%)
R 82 of 255 = 32%
G 28 of 255 = 11%
B 10 of 255 = 4%
R + G + B ~ 16%. #521C0A is dark color.
R + G + B =
82 + 28 + 10 = 120 (100%)
R 82 of 120 ~ 68.33%
G 28 of 120 ~ 23.33%
B 10 of 120 ~ 8.33%
#521C0A color CMYK value is (0,66,88,68).
CMYK: (0,66,88,68) C0M66Y88K68 (0%,66%,88%,68%) (0.00/0.66/0.88/0.68)
52 | 1C | 0A | |
---|---|---|---|
RGB | 82 | 28 | 10 |
HSL | 15° | 78.26% | 18.04% |
HSB/HSV | 15° | 87.80% | 32.16% |
CMYK | 0.00% | 65.85% | 87.80% |
67.84% |
HEX | 52 | 1C | 0A |
Decimal | 82 | 28 | 10 |
Binary | 1010010 | 11100 | 1010 |
Octal | 122 | 34 | 12 |
Examples of css and html codes for elements with #521C0A color. Also use rgb(82,28,10) instead hex code.
.myTextColor { color: #521C0A; }
<p style="color:#521C0A">This sample text font color is #521C0A.</p>
This text font color is #521C0A.
.myBgColor { background-color: #521C0A; }
<div style="background-color:#521C0A">Inner text</div>
This div background color is #521C0A.
.myBorderColor { border: 1px solid #521C0A; }
<div style="border:3px solid #521C0A">Div</div>
This div border color is #521C0A.
.myOpacity80 { color: #521C0A; opacity: 0.8; }
<p style="color:#521C0A;opacity:0.8;">80%</p>
Text with #521C0A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #521C0A;}
<p style="text-shadow: 3px 3px 1px #521C0A">Text here.</p>
This text has shadow with #521C0A color.
.textShadow {text-shadow: 3px 3px 1px #521C0A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #521C0A, 5px 5px 20px red">Text here.</p>
This text has shadow with #521C0A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#521C0A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#521C0A, Direction=45, Strength=4)">Text</p>
This text has shadow with #521C0A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #521C0A; -webkit-box-shadow: 1px 1px 3px 2px #521C0A; box-shadow: 1px 1px 3px 2px #521C0A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #521C0A; -webkit-box-shadow: 1px 1px 3px 2px #521C0A; box-shadow:1px 1px 3px 2px #521C0A;">
Div content here</div>
This text has color #521C0A on black background.
This text has color #521C0A on white background.
This text has black color on #521C0A background.
This text has white color on #521C0A background.