HEX: #A5AC5C
RGB: (165,172,92)
#A5AC5C contains mainly red and green colors. Web safe color of #A5AC5C is #999966 (or #996).
#A5AC5C color RGB value is (165,172,92).
RGB: (165,172,92) (65%,67%,36%)
R 165 of 255 = 65%
G 172 of 255 = 67%
B 92 of 255 = 36%
R + G + B ~ 56%. #A5AC5C is middle color (not dark and not light).
R + G + B =
165 + 172 + 92 = 429 (100%)
R 165 of 429 ~ 38.46%
G 172 of 429 ~ 40.09%
B 92 of 429 ~ 21.45%
#A5AC5C color CMYK value is (4,0,47,33).
CMYK: (4,0,47,33) C4M0Y47K33 (4%,0%,47%,33%) (0.04/0.00/0.47/0.33)
A5 | AC | 5C | |
---|---|---|---|
RGB | 165 | 172 | 92 |
HSL | 65° | 32.52% | 51.76% |
HSB/HSV | 65° | 46.51% | 67.45% |
CMYK | 4.07% | 0.00% | 46.51% |
32.55% |
HEX | A5 | AC | 5C |
Decimal | 165 | 172 | 92 |
Binary | 10100101 | 10101100 | 1011100 |
Octal | 245 | 254 | 134 |
Examples of css and html codes for elements with #A5AC5C color. Also use rgb(165,172,92) instead hex code.
.myTextColor { color: #A5AC5C; }
<p style="color:#A5AC5C">This sample text font color is #A5AC5C.</p>
This text font color is #A5AC5C.
.myBgColor { background-color: #A5AC5C; }
<div style="background-color:#A5AC5C">Inner text</div>
This div background color is #A5AC5C.
.myBorderColor { border: 1px solid #A5AC5C; }
<div style="border:3px solid #A5AC5C">Div</div>
This div border color is #A5AC5C.
.myOpacity80 { color: #A5AC5C; opacity: 0.8; }
<p style="color:#A5AC5C;opacity:0.8;">80%</p>
Text with #A5AC5C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5AC5C;}
<p style="text-shadow: 3px 3px 1px #A5AC5C">Text here.</p>
This text has shadow with #A5AC5C color.
.textShadow {text-shadow: 3px 3px 1px #A5AC5C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5AC5C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5AC5C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5AC5C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5AC5C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5AC5C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5AC5C; -webkit-box-shadow: 1px 1px 3px 2px #A5AC5C; box-shadow: 1px 1px 3px 2px #A5AC5C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5AC5C; -webkit-box-shadow: 1px 1px 3px 2px #A5AC5C; box-shadow:1px 1px 3px 2px #A5AC5C;">
Div content here</div>
This text has color #A5AC5C on black background.
This text has color #A5AC5C on white background.
This text has black color on #A5AC5C background.
This text has white color on #A5AC5C background.