HEX: #A5988C
RGB: (165,152,140)
#A5988C contains red, green and blue colors in about the same proportion. Web safe color of #A5988C is #999999 (or #999).
#A5988C color RGB value is (165,152,140).
RGB: (165,152,140) (65%,60%,55%)
R 165 of 255 = 65%
G 152 of 255 = 60%
B 140 of 255 = 55%
R + G + B ~ 60%. #A5988C is middle color (not dark and not light).
R + G + B =
165 + 152 + 140 = 457 (100%)
R 165 of 457 ~ 36.11%
G 152 of 457 ~ 33.26%
B 140 of 457 ~ 30.63%
#A5988C color CMYK value is (0,8,15,35).
CMYK: (0,8,15,35) C0M8Y15K35 (0%,8%,15%,35%) (0.00/0.08/0.15/0.35)
A5 | 98 | 8C | |
---|---|---|---|
RGB | 165 | 152 | 140 |
HSL | 29° | 12.20% | 59.80% |
HSB/HSV | 29° | 15.15% | 64.71% |
CMYK | 0.00% | 7.88% | 15.15% |
35.29% |
HEX | A5 | 98 | 8C |
Decimal | 165 | 152 | 140 |
Binary | 10100101 | 10011000 | 10001100 |
Octal | 245 | 230 | 214 |
Examples of css and html codes for elements with #A5988C color. Also use rgb(165,152,140) instead hex code.
.myTextColor { color: #A5988C; }
<p style="color:#A5988C">This sample text font color is #A5988C.</p>
This text font color is #A5988C.
.myBgColor { background-color: #A5988C; }
<div style="background-color:#A5988C">Inner text</div>
This div background color is #A5988C.
.myBorderColor { border: 1px solid #A5988C; }
<div style="border:3px solid #A5988C">Div</div>
This div border color is #A5988C.
.myOpacity80 { color: #A5988C; opacity: 0.8; }
<p style="color:#A5988C;opacity:0.8;">80%</p>
Text with #A5988C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5988C;}
<p style="text-shadow: 3px 3px 1px #A5988C">Text here.</p>
This text has shadow with #A5988C color.
.textShadow {text-shadow: 3px 3px 1px #A5988C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5988C, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5988C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5988C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5988C, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5988C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5988C; -webkit-box-shadow: 1px 1px 3px 2px #A5988C; box-shadow: 1px 1px 3px 2px #A5988C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5988C; -webkit-box-shadow: 1px 1px 3px 2px #A5988C; box-shadow:1px 1px 3px 2px #A5988C;">
Div content here</div>
This text has color #A5988C on black background.
This text has color #A5988C on white background.
This text has black color on #A5988C background.
This text has white color on #A5988C background.