HEX: #A5B271
RGB: (165,178,113)
#A5B271 contains mainly red and green colors. Web safe color of #A5B271 is #999966 (or #996).
#A5B271 color RGB value is (165,178,113).
RGB: (165,178,113) (65%,70%,44%)
R 165 of 255 = 65%
G 178 of 255 = 70%
B 113 of 255 = 44%
R + G + B ~ 60%. #A5B271 is middle color (not dark and not light).
R + G + B =
165 + 178 + 113 = 456 (100%)
R 165 of 456 ~ 36.18%
G 178 of 456 ~ 39.04%
B 113 of 456 ~ 24.78%
#A5B271 color CMYK value is (7,0,37,30).
CMYK: (7,0,37,30) C7M0Y37K30 (7%,0%,37%,30%) (0.07/0.00/0.37/0.30)
A5 | B2 | 71 | |
---|---|---|---|
RGB | 165 | 178 | 113 |
HSL | 72° | 29.68% | 57.06% |
HSB/HSV | 72° | 36.52% | 69.80% |
CMYK | 7.30% | 0.00% | 36.52% |
30.20% |
HEX | A5 | B2 | 71 |
Decimal | 165 | 178 | 113 |
Binary | 10100101 | 10110010 | 1110001 |
Octal | 245 | 262 | 161 |
Examples of css and html codes for elements with #A5B271 color. Also use rgb(165,178,113) instead hex code.
.myTextColor { color: #A5B271; }
<p style="color:#A5B271">This sample text font color is #A5B271.</p>
This text font color is #A5B271.
.myBgColor { background-color: #A5B271; }
<div style="background-color:#A5B271">Inner text</div>
This div background color is #A5B271.
.myBorderColor { border: 1px solid #A5B271; }
<div style="border:3px solid #A5B271">Div</div>
This div border color is #A5B271.
.myOpacity80 { color: #A5B271; opacity: 0.8; }
<p style="color:#A5B271;opacity:0.8;">80%</p>
Text with #A5B271 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5B271;}
<p style="text-shadow: 3px 3px 1px #A5B271">Text here.</p>
This text has shadow with #A5B271 color.
.textShadow {text-shadow: 3px 3px 1px #A5B271, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5B271, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5B271 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5B271, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5B271, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5B271 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5B271; -webkit-box-shadow: 1px 1px 3px 2px #A5B271; box-shadow: 1px 1px 3px 2px #A5B271; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5B271; -webkit-box-shadow: 1px 1px 3px 2px #A5B271; box-shadow:1px 1px 3px 2px #A5B271;">
Div content here</div>
This text has color #A5B271 on black background.
This text has color #A5B271 on white background.
This text has black color on #A5B271 background.
This text has white color on #A5B271 background.