HEX: #520626
RGB: (82,6,38)
#520626 contains mainly red and blue colors. Web safe color of #520626 is #660033 (or #603).
#520626 color RGB value is (82,6,38).
RGB: (82,6,38) (32%,2%,15%)
R 82 of 255 = 32%
G 6 of 255 = 2%
B 38 of 255 = 15%
R + G + B ~ 16%. #520626 is dark color.
R + G + B =
82 + 6 + 38 = 126 (100%)
R 82 of 126 ~ 65.08%
G 6 of 126 ~ 4.76%
B 38 of 126 ~ 30.16%
#520626 color CMYK value is (0,93,54,68).
CMYK: (0,93,54,68) C0M93Y54K68 (0%,93%,54%,68%) (0.00/0.93/0.54/0.68)
52 | 06 | 26 | |
---|---|---|---|
RGB | 82 | 6 | 38 |
HSL | 335° | 86.36% | 17.25% |
HSB/HSV | 335° | 92.68% | 32.16% |
CMYK | 0.00% | 92.68% | 53.66% |
67.84% |
HEX | 52 | 06 | 26 |
Decimal | 82 | 6 | 38 |
Binary | 1010010 | 110 | 100110 |
Octal | 122 | 6 | 46 |
Examples of css and html codes for elements with #520626 color. Also use rgb(82,6,38) instead hex code.
.myTextColor { color: #520626; }
<p style="color:#520626">This sample text font color is #520626.</p>
This text font color is #520626.
.myBgColor { background-color: #520626; }
<div style="background-color:#520626">Inner text</div>
This div background color is #520626.
.myBorderColor { border: 1px solid #520626; }
<div style="border:3px solid #520626">Div</div>
This div border color is #520626.
.myOpacity80 { color: #520626; opacity: 0.8; }
<p style="color:#520626;opacity:0.8;">80%</p>
Text with #520626 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #520626;}
<p style="text-shadow: 3px 3px 1px #520626">Text here.</p>
This text has shadow with #520626 color.
.textShadow {text-shadow: 3px 3px 1px #520626, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #520626, 5px 5px 20px red">Text here.</p>
This text has shadow with #520626 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#520626, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#520626, Direction=45, Strength=4)">Text</p>
This text has shadow with #520626 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #520626; -webkit-box-shadow: 1px 1px 3px 2px #520626; box-shadow: 1px 1px 3px 2px #520626; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #520626; -webkit-box-shadow: 1px 1px 3px 2px #520626; box-shadow:1px 1px 3px 2px #520626;">
Div content here</div>
This text has color #520626 on black background.
This text has color #520626 on white background.
This text has black color on #520626 background.
This text has white color on #520626 background.