HEX: #A4B172
RGB: (164,177,114)
#A4B172 contains mainly red and green colors. Web safe color of #A4B172 is #999966 (or #996).
#A4B172 color RGB value is (164,177,114).
RGB: (164,177,114) (64%,69%,45%)
R 164 of 255 = 64%
G 177 of 255 = 69%
B 114 of 255 = 45%
R + G + B ~ 59%. #A4B172 is middle color (not dark and not light).
R + G + B =
164 + 177 + 114 = 455 (100%)
R 164 of 455 ~ 36.04%
G 177 of 455 ~ 38.9%
B 114 of 455 ~ 25.05%
#A4B172 color CMYK value is (7,0,36,31).
CMYK: (7,0,36,31) C7M0Y36K31 (7%,0%,36%,31%) (0.07/0.00/0.36/0.31)
A4 | B1 | 72 | |
---|---|---|---|
RGB | 164 | 177 | 114 |
HSL | 72° | 28.77% | 57.06% |
HSB/HSV | 72° | 35.59% | 69.41% |
CMYK | 7.34% | 0.00% | 35.59% |
30.59% |
HEX | A4 | B1 | 72 |
Decimal | 164 | 177 | 114 |
Binary | 10100100 | 10110001 | 1110010 |
Octal | 244 | 261 | 162 |
Examples of css and html codes for elements with #A4B172 color. Also use rgb(164,177,114) instead hex code.
.myTextColor { color: #A4B172; }
<p style="color:#A4B172">This sample text font color is #A4B172.</p>
This text font color is #A4B172.
.myBgColor { background-color: #A4B172; }
<div style="background-color:#A4B172">Inner text</div>
This div background color is #A4B172.
.myBorderColor { border: 1px solid #A4B172; }
<div style="border:3px solid #A4B172">Div</div>
This div border color is #A4B172.
.myOpacity80 { color: #A4B172; opacity: 0.8; }
<p style="color:#A4B172;opacity:0.8;">80%</p>
Text with #A4B172 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A4B172;}
<p style="text-shadow: 3px 3px 1px #A4B172">Text here.</p>
This text has shadow with #A4B172 color.
.textShadow {text-shadow: 3px 3px 1px #A4B172, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A4B172, 5px 5px 20px red">Text here.</p>
This text has shadow with #A4B172 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A4B172, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A4B172, Direction=45, Strength=4)">Text</p>
This text has shadow with #A4B172 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A4B172; -webkit-box-shadow: 1px 1px 3px 2px #A4B172; box-shadow: 1px 1px 3px 2px #A4B172; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A4B172; -webkit-box-shadow: 1px 1px 3px 2px #A4B172; box-shadow:1px 1px 3px 2px #A4B172;">
Div content here</div>
This text has color #A4B172 on black background.
This text has color #A4B172 on white background.
This text has black color on #A4B172 background.
This text has white color on #A4B172 background.