HEX: #A56F1B
RGB: (165,111,27)
#A56F1B contains mainly red and green colors. Web safe color of #A56F1B is #996633 (or #963).
#A56F1B color RGB value is (165,111,27).
RGB: (165,111,27) (65%,44%,11%)
R 165 of 255 = 65%
G 111 of 255 = 44%
B 27 of 255 = 11%
R + G + B ~ 40%. #A56F1B is middle color (not dark and not light).
R + G + B =
165 + 111 + 27 = 303 (100%)
R 165 of 303 ~ 54.46%
G 111 of 303 ~ 36.63%
B 27 of 303 ~ 8.91%
#A56F1B color CMYK value is (0,33,84,35).
CMYK: (0,33,84,35) C0M33Y84K35 (0%,33%,84%,35%) (0.00/0.33/0.84/0.35)
A5 | 6F | 1B | |
---|---|---|---|
RGB | 165 | 111 | 27 |
HSL | 37° | 71.88% | 37.65% |
HSB/HSV | 37° | 83.64% | 64.71% |
CMYK | 0.00% | 32.73% | 83.64% |
35.29% |
HEX | A5 | 6F | 1B |
Decimal | 165 | 111 | 27 |
Binary | 10100101 | 1101111 | 11011 |
Octal | 245 | 157 | 33 |
Examples of css and html codes for elements with #A56F1B color. Also use rgb(165,111,27) instead hex code.
.myTextColor { color: #A56F1B; }
<p style="color:#A56F1B">This sample text font color is #A56F1B.</p>
This text font color is #A56F1B.
.myBgColor { background-color: #A56F1B; }
<div style="background-color:#A56F1B">Inner text</div>
This div background color is #A56F1B.
.myBorderColor { border: 1px solid #A56F1B; }
<div style="border:3px solid #A56F1B">Div</div>
This div border color is #A56F1B.
.myOpacity80 { color: #A56F1B; opacity: 0.8; }
<p style="color:#A56F1B;opacity:0.8;">80%</p>
Text with #A56F1B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A56F1B;}
<p style="text-shadow: 3px 3px 1px #A56F1B">Text here.</p>
This text has shadow with #A56F1B color.
.textShadow {text-shadow: 3px 3px 1px #A56F1B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A56F1B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A56F1B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A56F1B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A56F1B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A56F1B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A56F1B; -webkit-box-shadow: 1px 1px 3px 2px #A56F1B; box-shadow: 1px 1px 3px 2px #A56F1B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A56F1B; -webkit-box-shadow: 1px 1px 3px 2px #A56F1B; box-shadow:1px 1px 3px 2px #A56F1B;">
Div content here</div>
This text has color #A56F1B on black background.
This text has color #A56F1B on white background.
This text has black color on #A56F1B background.
This text has white color on #A56F1B background.