HEX: #A5B98A
RGB: (165,185,138)
#A5B98A contains red, green and blue colors in about the same proportion. Web safe color of #A5B98A is #99CC99 (or #9C9).
#A5B98A color RGB value is (165,185,138).
RGB: (165,185,138) (65%,73%,54%)
R 165 of 255 = 65%
G 185 of 255 = 73%
B 138 of 255 = 54%
R + G + B ~ 64%. #A5B98A is quite light color.
R + G + B =
165 + 185 + 138 = 488 (100%)
R 165 of 488 ~ 33.81%
G 185 of 488 ~ 37.91%
B 138 of 488 ~ 28.28%
#A5B98A color CMYK value is (11,0,25,27).
CMYK: (11,0,25,27) C11M0Y25K27 (11%,0%,25%,27%) (0.11/0.00/0.25/0.27)
A5 | B9 | 8A | |
---|---|---|---|
RGB | 165 | 185 | 138 |
HSL | 86° | 25.13% | 63.33% |
HSB/HSV | 86° | 25.41% | 72.55% |
CMYK | 10.81% | 0.00% | 25.41% |
27.45% |
HEX | A5 | B9 | 8A |
Decimal | 165 | 185 | 138 |
Binary | 10100101 | 10111001 | 10001010 |
Octal | 245 | 271 | 212 |
Examples of css and html codes for elements with #A5B98A color. Also use rgb(165,185,138) instead hex code.
.myTextColor { color: #A5B98A; }
<p style="color:#A5B98A">This sample text font color is #A5B98A.</p>
This text font color is #A5B98A.
.myBgColor { background-color: #A5B98A; }
<div style="background-color:#A5B98A">Inner text</div>
This div background color is #A5B98A.
.myBorderColor { border: 1px solid #A5B98A; }
<div style="border:3px solid #A5B98A">Div</div>
This div border color is #A5B98A.
.myOpacity80 { color: #A5B98A; opacity: 0.8; }
<p style="color:#A5B98A;opacity:0.8;">80%</p>
Text with #A5B98A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5B98A;}
<p style="text-shadow: 3px 3px 1px #A5B98A">Text here.</p>
This text has shadow with #A5B98A color.
.textShadow {text-shadow: 3px 3px 1px #A5B98A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5B98A, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5B98A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5B98A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5B98A, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5B98A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5B98A; -webkit-box-shadow: 1px 1px 3px 2px #A5B98A; box-shadow: 1px 1px 3px 2px #A5B98A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5B98A; -webkit-box-shadow: 1px 1px 3px 2px #A5B98A; box-shadow:1px 1px 3px 2px #A5B98A;">
Div content here</div>
This text has color #A5B98A on black background.
This text has color #A5B98A on white background.
This text has black color on #A5B98A background.
This text has white color on #A5B98A background.