HEX: #520D09
RGB: (82,13,9)
#520D09 contains mainly red color. Web safe color of #520D09 is #660000 (or #600).
#520D09 color RGB value is (82,13,9).
RGB: (82,13,9) (32%,5%,4%)
R 82 of 255 = 32%
G 13 of 255 = 5%
B 9 of 255 = 4%
R + G + B ~ 14%. #520D09 is dark color.
R + G + B =
82 + 13 + 9 = 104 (100%)
R 82 of 104 ~ 78.85%
G 13 of 104 ~ 12.5%
B 9 of 104 ~ 8.65%
#520D09 color CMYK value is (0,84,89,68).
CMYK: (0,84,89,68) C0M84Y89K68 (0%,84%,89%,68%) (0.00/0.84/0.89/0.68)
52 | 0D | 09 | |
---|---|---|---|
RGB | 82 | 13 | 9 |
HSL | 3° | 80.22% | 17.84% |
HSB/HSV | 3° | 89.02% | 32.16% |
CMYK | 0.00% | 84.15% | 89.02% |
67.84% |
HEX | 52 | 0D | 09 |
Decimal | 82 | 13 | 9 |
Binary | 1010010 | 1101 | 1001 |
Octal | 122 | 15 | 11 |
Examples of css and html codes for elements with #520D09 color. Also use rgb(82,13,9) instead hex code.
.myTextColor { color: #520D09; }
<p style="color:#520D09">This sample text font color is #520D09.</p>
This text font color is #520D09.
.myBgColor { background-color: #520D09; }
<div style="background-color:#520D09">Inner text</div>
This div background color is #520D09.
.myBorderColor { border: 1px solid #520D09; }
<div style="border:3px solid #520D09">Div</div>
This div border color is #520D09.
.myOpacity80 { color: #520D09; opacity: 0.8; }
<p style="color:#520D09;opacity:0.8;">80%</p>
Text with #520D09 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520D09;}
<p style="text-shadow: 3px 3px 1px #520D09">Text here.</p>
This text has shadow with #520D09 color.
.textShadow {text-shadow: 3px 3px 1px #520D09, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520D09, 5px 5px 20px red">Text here.</p>
This text has shadow with #520D09 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520D09, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520D09, Direction=45, Strength=4)">Text</p>
This text has shadow with #520D09 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520D09; -webkit-box-shadow: 1px 1px 3px 2px #520D09; box-shadow: 1px 1px 3px 2px #520D09; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520D09; -webkit-box-shadow: 1px 1px 3px 2px #520D09; box-shadow:1px 1px 3px 2px #520D09;">
Div content here</div>
This text has color #520D09 on black background.
This text has color #520D09 on white background.
This text has black color on #520D09 background.
This text has white color on #520D09 background.