HEX: #A8AB5B
RGB: (168,171,91)
#A8AB5B contains mainly red and green colors. Web safe color of #A8AB5B is #999966 (or #996).
#A8AB5B color RGB value is (168,171,91).
RGB: (168,171,91) (66%,67%,36%)
R 168 of 255 = 66%
G 171 of 255 = 67%
B 91 of 255 = 36%
R + G + B ~ 56%. #A8AB5B is middle color (not dark and not light).
R + G + B =
168 + 171 + 91 = 430 (100%)
R 168 of 430 ~ 39.07%
G 171 of 430 ~ 39.77%
B 91 of 430 ~ 21.16%
#A8AB5B color CMYK value is (2,0,47,33).
CMYK: (2,0,47,33) C2M0Y47K33 (2%,0%,47%,33%) (0.02/0.00/0.47/0.33)
A8 | AB | 5B | |
---|---|---|---|
RGB | 168 | 171 | 91 |
HSL | 62° | 32.26% | 51.37% |
HSB/HSV | 62° | 46.78% | 67.06% |
CMYK | 1.75% | 0.00% | 46.78% |
32.94% |
HEX | A8 | AB | 5B |
Decimal | 168 | 171 | 91 |
Binary | 10101000 | 10101011 | 1011011 |
Octal | 250 | 253 | 133 |
Examples of css and html codes for elements with #A8AB5B color. Also use rgb(168,171,91) instead hex code.
.myTextColor { color: #A8AB5B; }
<p style="color:#A8AB5B">This sample text font color is #A8AB5B.</p>
This text font color is #A8AB5B.
.myBgColor { background-color: #A8AB5B; }
<div style="background-color:#A8AB5B">Inner text</div>
This div background color is #A8AB5B.
.myBorderColor { border: 1px solid #A8AB5B; }
<div style="border:3px solid #A8AB5B">Div</div>
This div border color is #A8AB5B.
.myOpacity80 { color: #A8AB5B; opacity: 0.8; }
<p style="color:#A8AB5B;opacity:0.8;">80%</p>
Text with #A8AB5B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A8AB5B;}
<p style="text-shadow: 3px 3px 1px #A8AB5B">Text here.</p>
This text has shadow with #A8AB5B color.
.textShadow {text-shadow: 3px 3px 1px #A8AB5B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A8AB5B, 5px 5px 20px red">Text here.</p>
This text has shadow with #A8AB5B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A8AB5B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A8AB5B, Direction=45, Strength=4)">Text</p>
This text has shadow with #A8AB5B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A8AB5B; -webkit-box-shadow: 1px 1px 3px 2px #A8AB5B; box-shadow: 1px 1px 3px 2px #A8AB5B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A8AB5B; -webkit-box-shadow: 1px 1px 3px 2px #A8AB5B; box-shadow:1px 1px 3px 2px #A8AB5B;">
Div content here</div>
This text has color #A8AB5B on black background.
This text has color #A8AB5B on white background.
This text has black color on #A8AB5B background.
This text has white color on #A8AB5B background.