HEX: #A8987D
RGB: (168,152,125)
#A8987D contains red, green and blue colors in about the same proportion. Web safe color of #A8987D is #999966 (or #996).
#A8987D color RGB value is (168,152,125).
RGB: (168,152,125) (66%,60%,49%)
R 168 of 255 = 66%
G 152 of 255 = 60%
B 125 of 255 = 49%
R + G + B ~ 58%. #A8987D is middle color (not dark and not light).
R + G + B =
168 + 152 + 125 = 445 (100%)
R 168 of 445 ~ 37.75%
G 152 of 445 ~ 34.16%
B 125 of 445 ~ 28.09%
#A8987D color CMYK value is (0,10,26,34).
CMYK: (0,10,26,34) C0M10Y26K34 (0%,10%,26%,34%) (0.00/0.10/0.26/0.34)
A8 | 98 | 7D | |
---|---|---|---|
RGB | 168 | 152 | 125 |
HSL | 38° | 19.82% | 57.45% |
HSB/HSV | 38° | 25.60% | 65.88% |
CMYK | 0.00% | 9.52% | 25.60% |
34.12% |
HEX | A8 | 98 | 7D |
Decimal | 168 | 152 | 125 |
Binary | 10101000 | 10011000 | 1111101 |
Octal | 250 | 230 | 175 |
Examples of css and html codes for elements with #A8987D color. Also use rgb(168,152,125) instead hex code.
.myTextColor { color: #A8987D; }
<p style="color:#A8987D">This sample text font color is #A8987D.</p>
This text font color is #A8987D.
.myBgColor { background-color: #A8987D; }
<div style="background-color:#A8987D">Inner text</div>
This div background color is #A8987D.
.myBorderColor { border: 1px solid #A8987D; }
<div style="border:3px solid #A8987D">Div</div>
This div border color is #A8987D.
.myOpacity80 { color: #A8987D; opacity: 0.8; }
<p style="color:#A8987D;opacity:0.8;">80%</p>
Text with #A8987D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8987D;}
<p style="text-shadow: 3px 3px 1px #A8987D">Text here.</p>
This text has shadow with #A8987D color.
.textShadow {text-shadow: 3px 3px 1px #A8987D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8987D, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8987D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8987D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8987D, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8987D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8987D; -webkit-box-shadow: 1px 1px 3px 2px #A8987D; box-shadow: 1px 1px 3px 2px #A8987D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8987D; -webkit-box-shadow: 1px 1px 3px 2px #A8987D; box-shadow:1px 1px 3px 2px #A8987D;">
Div content here</div>
This text has color #A8987D on black background.
This text has color #A8987D on white background.
This text has black color on #A8987D background.
This text has white color on #A8987D background.