HEX: #A6821F
RGB: (166,130,31)
#A6821F contains mainly red and green colors. Web safe color of #A6821F is #999933 (or #993).
#A6821F color RGB value is (166,130,31).
RGB: (166,130,31) (65%,51%,12%)
R 166 of 255 = 65%
G 130 of 255 = 51%
B 31 of 255 = 12%
R + G + B ~ 43%. #A6821F is middle color (not dark and not light).
R + G + B =
166 + 130 + 31 = 327 (100%)
R 166 of 327 ~ 50.76%
G 130 of 327 ~ 39.76%
B 31 of 327 ~ 9.48%
#A6821F color CMYK value is (0,22,81,35).
CMYK: (0,22,81,35) C0M22Y81K35 (0%,22%,81%,35%) (0.00/0.22/0.81/0.35)
A6 | 82 | 1F | |
---|---|---|---|
RGB | 166 | 130 | 31 |
HSL | 44° | 68.53% | 38.63% |
HSB/HSV | 44° | 81.33% | 65.10% |
CMYK | 0.00% | 21.69% | 81.33% |
34.90% |
HEX | A6 | 82 | 1F |
Decimal | 166 | 130 | 31 |
Binary | 10100110 | 10000010 | 11111 |
Octal | 246 | 202 | 37 |
Examples of css and html codes for elements with #A6821F color. Also use rgb(166,130,31) instead hex code.
.myTextColor { color: #A6821F; }
<p style="color:#A6821F">This sample text font color is #A6821F.</p>
This text font color is #A6821F.
.myBgColor { background-color: #A6821F; }
<div style="background-color:#A6821F">Inner text</div>
This div background color is #A6821F.
.myBorderColor { border: 1px solid #A6821F; }
<div style="border:3px solid #A6821F">Div</div>
This div border color is #A6821F.
.myOpacity80 { color: #A6821F; opacity: 0.8; }
<p style="color:#A6821F;opacity:0.8;">80%</p>
Text with #A6821F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A6821F;}
<p style="text-shadow: 3px 3px 1px #A6821F">Text here.</p>
This text has shadow with #A6821F color.
.textShadow {text-shadow: 3px 3px 1px #A6821F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A6821F, 5px 5px 20px red">Text here.</p>
This text has shadow with #A6821F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A6821F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A6821F, Direction=45, Strength=4)">Text</p>
This text has shadow with #A6821F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A6821F; -webkit-box-shadow: 1px 1px 3px 2px #A6821F; box-shadow: 1px 1px 3px 2px #A6821F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A6821F; -webkit-box-shadow: 1px 1px 3px 2px #A6821F; box-shadow:1px 1px 3px 2px #A6821F;">
Div content here</div>
This text has color #A6821F on black background.
This text has color #A6821F on white background.
This text has black color on #A6821F background.
This text has white color on #A6821F background.