HEX: #A5A45F
RGB: (165,164,95)
#A5A45F contains mainly red and green colors. Web safe color of #A5A45F is #999966 (or #996).
#A5A45F color RGB value is (165,164,95).
RGB: (165,164,95) (65%,64%,37%)
R 165 of 255 = 65%
G 164 of 255 = 64%
B 95 of 255 = 37%
R + G + B ~ 55%. #A5A45F is middle color (not dark and not light).
R + G + B =
165 + 164 + 95 = 424 (100%)
R 165 of 424 ~ 38.92%
G 164 of 424 ~ 38.68%
B 95 of 424 ~ 22.41%
#A5A45F color CMYK value is (0,1,42,35).
CMYK: (0,1,42,35) C0M1Y42K35 (0%,1%,42%,35%) (0.00/0.01/0.42/0.35)
A5 | A4 | 5F | |
---|---|---|---|
RGB | 165 | 164 | 95 |
HSL | 59° | 28.00% | 50.98% |
HSB/HSV | 59° | 42.42% | 64.71% |
CMYK | 0.00% | 0.61% | 42.42% |
35.29% |
HEX | A5 | A4 | 5F |
Decimal | 165 | 164 | 95 |
Binary | 10100101 | 10100100 | 1011111 |
Octal | 245 | 244 | 137 |
Examples of css and html codes for elements with #A5A45F color. Also use rgb(165,164,95) instead hex code.
.myTextColor { color: #A5A45F; }
<p style="color:#A5A45F">This sample text font color is #A5A45F.</p>
This text font color is #A5A45F.
.myBgColor { background-color: #A5A45F; }
<div style="background-color:#A5A45F">Inner text</div>
This div background color is #A5A45F.
.myBorderColor { border: 1px solid #A5A45F; }
<div style="border:3px solid #A5A45F">Div</div>
This div border color is #A5A45F.
.myOpacity80 { color: #A5A45F; opacity: 0.8; }
<p style="color:#A5A45F;opacity:0.8;">80%</p>
Text with #A5A45F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5A45F;}
<p style="text-shadow: 3px 3px 1px #A5A45F">Text here.</p>
This text has shadow with #A5A45F color.
.textShadow {text-shadow: 3px 3px 1px #A5A45F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5A45F, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5A45F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5A45F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5A45F, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5A45F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5A45F; -webkit-box-shadow: 1px 1px 3px 2px #A5A45F; box-shadow: 1px 1px 3px 2px #A5A45F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5A45F; -webkit-box-shadow: 1px 1px 3px 2px #A5A45F; box-shadow:1px 1px 3px 2px #A5A45F;">
Div content here</div>
This text has color #A5A45F on black background.
This text has color #A5A45F on white background.
This text has black color on #A5A45F background.
This text has white color on #A5A45F background.