HEX: #A5A146
RGB: (165,161,70)
#A5A146 contains mainly red and green colors. Web safe color of #A5A146 is #999933 (or #993).
#A5A146 color RGB value is (165,161,70).
RGB: (165,161,70) (65%,63%,27%)
R 165 of 255 = 65%
G 161 of 255 = 63%
B 70 of 255 = 27%
R + G + B ~ 52%. #A5A146 is middle color (not dark and not light).
R + G + B =
165 + 161 + 70 = 396 (100%)
R 165 of 396 ~ 41.67%
G 161 of 396 ~ 40.66%
B 70 of 396 ~ 17.68%
#A5A146 color CMYK value is (0,2,58,35).
CMYK: (0,2,58,35) C0M2Y58K35 (0%,2%,58%,35%) (0.00/0.02/0.58/0.35)
A5 | A1 | 46 | |
---|---|---|---|
RGB | 165 | 161 | 70 |
HSL | 57° | 40.43% | 46.08% |
HSB/HSV | 57° | 57.58% | 64.71% |
CMYK | 0.00% | 2.42% | 57.58% |
35.29% |
HEX | A5 | A1 | 46 |
Decimal | 165 | 161 | 70 |
Binary | 10100101 | 10100001 | 1000110 |
Octal | 245 | 241 | 106 |
Examples of css and html codes for elements with #A5A146 color. Also use rgb(165,161,70) instead hex code.
.myTextColor { color: #A5A146; }
<p style="color:#A5A146">This sample text font color is #A5A146.</p>
This text font color is #A5A146.
.myBgColor { background-color: #A5A146; }
<div style="background-color:#A5A146">Inner text</div>
This div background color is #A5A146.
.myBorderColor { border: 1px solid #A5A146; }
<div style="border:3px solid #A5A146">Div</div>
This div border color is #A5A146.
.myOpacity80 { color: #A5A146; opacity: 0.8; }
<p style="color:#A5A146;opacity:0.8;">80%</p>
Text with #A5A146 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5A146;}
<p style="text-shadow: 3px 3px 1px #A5A146">Text here.</p>
This text has shadow with #A5A146 color.
.textShadow {text-shadow: 3px 3px 1px #A5A146, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5A146, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5A146 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5A146, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5A146, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5A146 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5A146; -webkit-box-shadow: 1px 1px 3px 2px #A5A146; box-shadow: 1px 1px 3px 2px #A5A146; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5A146; -webkit-box-shadow: 1px 1px 3px 2px #A5A146; box-shadow:1px 1px 3px 2px #A5A146;">
Div content here</div>
This text has color #A5A146 on black background.
This text has color #A5A146 on white background.
This text has black color on #A5A146 background.
This text has white color on #A5A146 background.