HEX: #520D45
RGB: (82,13,69)
#520D45 contains mainly red and blue colors. Web safe color of #520D45 is #660033 (or #603).
#520D45 color RGB value is (82,13,69).
RGB: (82,13,69) (32%,5%,27%)
R 82 of 255 = 32%
G 13 of 255 = 5%
B 69 of 255 = 27%
R + G + B ~ 21%. #520D45 is dark color.
R + G + B =
82 + 13 + 69 = 164 (100%)
R 82 of 164 ~ 50%
G 13 of 164 ~ 7.93%
B 69 of 164 ~ 42.07%
#520D45 color CMYK value is (0,84,16,68).
CMYK: (0,84,16,68) C0M84Y16K68 (0%,84%,16%,68%) (0.00/0.84/0.16/0.68)
52 | 0D | 45 | |
---|---|---|---|
RGB | 82 | 13 | 69 |
HSL | 311° | 72.63% | 18.63% |
HSB/HSV | 311° | 84.15% | 32.16% |
CMYK | 0.00% | 84.15% | 15.85% |
67.84% |
HEX | 52 | 0D | 45 |
Decimal | 82 | 13 | 69 |
Binary | 1010010 | 1101 | 1000101 |
Octal | 122 | 15 | 105 |
Examples of css and html codes for elements with #520D45 color. Also use rgb(82,13,69) instead hex code.
.myTextColor { color: #520D45; }
<p style="color:#520D45">This sample text font color is #520D45.</p>
This text font color is #520D45.
.myBgColor { background-color: #520D45; }
<div style="background-color:#520D45">Inner text</div>
This div background color is #520D45.
.myBorderColor { border: 1px solid #520D45; }
<div style="border:3px solid #520D45">Div</div>
This div border color is #520D45.
.myOpacity80 { color: #520D45; opacity: 0.8; }
<p style="color:#520D45;opacity:0.8;">80%</p>
Text with #520D45 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520D45;}
<p style="text-shadow: 3px 3px 1px #520D45">Text here.</p>
This text has shadow with #520D45 color.
.textShadow {text-shadow: 3px 3px 1px #520D45, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520D45, 5px 5px 20px red">Text here.</p>
This text has shadow with #520D45 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520D45, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520D45, Direction=45, Strength=4)">Text</p>
This text has shadow with #520D45 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520D45; -webkit-box-shadow: 1px 1px 3px 2px #520D45; box-shadow: 1px 1px 3px 2px #520D45; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520D45; -webkit-box-shadow: 1px 1px 3px 2px #520D45; box-shadow:1px 1px 3px 2px #520D45;">
Div content here</div>
This text has color #520D45 on black background.
This text has color #520D45 on white background.
This text has black color on #520D45 background.
This text has white color on #520D45 background.