HEX: #A5521A
RGB: (165,82,26)
#A5521A contains mainly red color. Web safe color of #A5521A is #996600 (or #960).
#A5521A color RGB value is (165,82,26).
RGB: (165,82,26) (65%,32%,10%)
R 165 of 255 = 65%
G 82 of 255 = 32%
B 26 of 255 = 10%
R + G + B ~ 36%. #A5521A is quite dark color.
R + G + B =
165 + 82 + 26 = 273 (100%)
R 165 of 273 ~ 60.44%
G 82 of 273 ~ 30.04%
B 26 of 273 ~ 9.52%
#A5521A color CMYK value is (0,50,84,35).
CMYK: (0,50,84,35) C0M50Y84K35 (0%,50%,84%,35%) (0.00/0.50/0.84/0.35)
A5 | 52 | 1A | |
---|---|---|---|
RGB | 165 | 82 | 26 |
HSL | 24° | 72.77% | 37.45% |
HSB/HSV | 24° | 84.24% | 64.71% |
CMYK | 0.00% | 50.30% | 84.24% |
35.29% |
HEX | A5 | 52 | 1A |
Decimal | 165 | 82 | 26 |
Binary | 10100101 | 1010010 | 11010 |
Octal | 245 | 122 | 32 |
Examples of css and html codes for elements with #A5521A color. Also use rgb(165,82,26) instead hex code.
.myTextColor { color: #A5521A; }
<p style="color:#A5521A">This sample text font color is #A5521A.</p>
This text font color is #A5521A.
.myBgColor { background-color: #A5521A; }
<div style="background-color:#A5521A">Inner text</div>
This div background color is #A5521A.
.myBorderColor { border: 1px solid #A5521A; }
<div style="border:3px solid #A5521A">Div</div>
This div border color is #A5521A.
.myOpacity80 { color: #A5521A; opacity: 0.8; }
<p style="color:#A5521A;opacity:0.8;">80%</p>
Text with #A5521A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5521A;}
<p style="text-shadow: 3px 3px 1px #A5521A">Text here.</p>
This text has shadow with #A5521A color.
.textShadow {text-shadow: 3px 3px 1px #A5521A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5521A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5521A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5521A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5521A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5521A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5521A; -webkit-box-shadow: 1px 1px 3px 2px #A5521A; box-shadow: 1px 1px 3px 2px #A5521A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5521A; -webkit-box-shadow: 1px 1px 3px 2px #A5521A; box-shadow:1px 1px 3px 2px #A5521A;">
Div content here</div>
This text has color #A5521A on black background.
This text has color #A5521A on white background.
This text has black color on #A5521A background.
This text has white color on #A5521A background.