HEX: #A57E0B
RGB: (165,126,11)
#A57E0B contains mainly red and green colors. Web safe color of #A57E0B is #996600 (or #960).
#A57E0B color RGB value is (165,126,11).
RGB: (165,126,11) (65%,49%,4%)
R 165 of 255 = 65%
G 126 of 255 = 49%
B 11 of 255 = 4%
R + G + B ~ 39%. #A57E0B is quite dark color.
R + G + B =
165 + 126 + 11 = 302 (100%)
R 165 of 302 ~ 54.64%
G 126 of 302 ~ 41.72%
B 11 of 302 ~ 3.64%
#A57E0B color CMYK value is (0,24,93,35).
CMYK: (0,24,93,35) C0M24Y93K35 (0%,24%,93%,35%) (0.00/0.24/0.93/0.35)
A5 | 7E | 0B | |
---|---|---|---|
RGB | 165 | 126 | 11 |
HSL | 45° | 87.50% | 34.51% |
HSB/HSV | 45° | 93.33% | 64.71% |
CMYK | 0.00% | 23.64% | 93.33% |
35.29% |
HEX | A5 | 7E | 0B |
Decimal | 165 | 126 | 11 |
Binary | 10100101 | 1111110 | 1011 |
Octal | 245 | 176 | 13 |
Examples of css and html codes for elements with #A57E0B color. Also use rgb(165,126,11) instead hex code.
.myTextColor { color: #A57E0B; }
<p style="color:#A57E0B">This sample text font color is #A57E0B.</p>
This text font color is #A57E0B.
.myBgColor { background-color: #A57E0B; }
<div style="background-color:#A57E0B">Inner text</div>
This div background color is #A57E0B.
.myBorderColor { border: 1px solid #A57E0B; }
<div style="border:3px solid #A57E0B">Div</div>
This div border color is #A57E0B.
.myOpacity80 { color: #A57E0B; opacity: 0.8; }
<p style="color:#A57E0B;opacity:0.8;">80%</p>
Text with #A57E0B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A57E0B;}
<p style="text-shadow: 3px 3px 1px #A57E0B">Text here.</p>
This text has shadow with #A57E0B color.
.textShadow {text-shadow: 3px 3px 1px #A57E0B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A57E0B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A57E0B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A57E0B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A57E0B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A57E0B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A57E0B; -webkit-box-shadow: 1px 1px 3px 2px #A57E0B; box-shadow: 1px 1px 3px 2px #A57E0B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A57E0B; -webkit-box-shadow: 1px 1px 3px 2px #A57E0B; box-shadow:1px 1px 3px 2px #A57E0B;">
Div content here</div>
This text has color #A57E0B on black background.
This text has color #A57E0B on white background.
This text has black color on #A57E0B background.
This text has white color on #A57E0B background.