HEX: #A5A15B
RGB: (165,161,91)
#A5A15B contains mainly red and green colors. Web safe color of #A5A15B is #999966 (or #996).
#A5A15B color RGB value is (165,161,91).
RGB: (165,161,91) (65%,63%,36%)
R 165 of 255 = 65%
G 161 of 255 = 63%
B 91 of 255 = 36%
R + G + B ~ 55%. #A5A15B is middle color (not dark and not light).
R + G + B =
165 + 161 + 91 = 417 (100%)
R 165 of 417 ~ 39.57%
G 161 of 417 ~ 38.61%
B 91 of 417 ~ 21.82%
#A5A15B color CMYK value is (0,2,45,35).
CMYK: (0,2,45,35) C0M2Y45K35 (0%,2%,45%,35%) (0.00/0.02/0.45/0.35)
A5 | A1 | 5B | |
---|---|---|---|
RGB | 165 | 161 | 91 |
HSL | 57° | 29.13% | 50.20% |
HSB/HSV | 57° | 44.85% | 64.71% |
CMYK | 0.00% | 2.42% | 44.85% |
35.29% |
HEX | A5 | A1 | 5B |
Decimal | 165 | 161 | 91 |
Binary | 10100101 | 10100001 | 1011011 |
Octal | 245 | 241 | 133 |
Examples of css and html codes for elements with #A5A15B color. Also use rgb(165,161,91) instead hex code.
.myTextColor { color: #A5A15B; }
<p style="color:#A5A15B">This sample text font color is #A5A15B.</p>
This text font color is #A5A15B.
.myBgColor { background-color: #A5A15B; }
<div style="background-color:#A5A15B">Inner text</div>
This div background color is #A5A15B.
.myBorderColor { border: 1px solid #A5A15B; }
<div style="border:3px solid #A5A15B">Div</div>
This div border color is #A5A15B.
.myOpacity80 { color: #A5A15B; opacity: 0.8; }
<p style="color:#A5A15B;opacity:0.8;">80%</p>
Text with #A5A15B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5A15B;}
<p style="text-shadow: 3px 3px 1px #A5A15B">Text here.</p>
This text has shadow with #A5A15B color.
.textShadow {text-shadow: 3px 3px 1px #A5A15B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5A15B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5A15B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5A15B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5A15B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5A15B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5A15B; -webkit-box-shadow: 1px 1px 3px 2px #A5A15B; box-shadow: 1px 1px 3px 2px #A5A15B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5A15B; -webkit-box-shadow: 1px 1px 3px 2px #A5A15B; box-shadow:1px 1px 3px 2px #A5A15B;">
Div content here</div>
This text has color #A5A15B on black background.
This text has color #A5A15B on white background.
This text has black color on #A5A15B background.
This text has white color on #A5A15B background.