HEX: #A5731C
RGB: (165,115,28)
#A5731C contains mainly red and green colors. Web safe color of #A5731C is #996633 (or #963).
#A5731C color RGB value is (165,115,28).
RGB: (165,115,28) (65%,45%,11%)
R 165 of 255 = 65%
G 115 of 255 = 45%
B 28 of 255 = 11%
R + G + B ~ 40%. #A5731C is middle color (not dark and not light).
R + G + B =
165 + 115 + 28 = 308 (100%)
R 165 of 308 ~ 53.57%
G 115 of 308 ~ 37.34%
B 28 of 308 ~ 9.09%
#A5731C color CMYK value is (0,30,83,35).
CMYK: (0,30,83,35) C0M30Y83K35 (0%,30%,83%,35%) (0.00/0.30/0.83/0.35)
A5 | 73 | 1C | |
---|---|---|---|
RGB | 165 | 115 | 28 |
HSL | 38° | 70.98% | 37.84% |
HSB/HSV | 38° | 83.03% | 64.71% |
CMYK | 0.00% | 30.30% | 83.03% |
35.29% |
HEX | A5 | 73 | 1C |
Decimal | 165 | 115 | 28 |
Binary | 10100101 | 1110011 | 11100 |
Octal | 245 | 163 | 34 |
Examples of css and html codes for elements with #A5731C color. Also use rgb(165,115,28) instead hex code.
.myTextColor { color: #A5731C; }
<p style="color:#A5731C">This sample text font color is #A5731C.</p>
This text font color is #A5731C.
.myBgColor { background-color: #A5731C; }
<div style="background-color:#A5731C">Inner text</div>
This div background color is #A5731C.
.myBorderColor { border: 1px solid #A5731C; }
<div style="border:3px solid #A5731C">Div</div>
This div border color is #A5731C.
.myOpacity80 { color: #A5731C; opacity: 0.8; }
<p style="color:#A5731C;opacity:0.8;">80%</p>
Text with #A5731C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5731C;}
<p style="text-shadow: 3px 3px 1px #A5731C">Text here.</p>
This text has shadow with #A5731C color.
.textShadow {text-shadow: 3px 3px 1px #A5731C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5731C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5731C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5731C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5731C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5731C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5731C; -webkit-box-shadow: 1px 1px 3px 2px #A5731C; box-shadow: 1px 1px 3px 2px #A5731C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5731C; -webkit-box-shadow: 1px 1px 3px 2px #A5731C; box-shadow:1px 1px 3px 2px #A5731C;">
Div content here</div>
This text has color #A5731C on black background.
This text has color #A5731C on white background.
This text has black color on #A5731C background.
This text has white color on #A5731C background.