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