HEX: #A5A274
RGB: (165,162,116)
#A5A274 contains red, green and blue colors in about the same proportion. Web safe color of #A5A274 is #999966 (or #996).
#A5A274 color RGB value is (165,162,116).
RGB: (165,162,116) (65%,64%,45%)
R 165 of 255 = 65%
G 162 of 255 = 64%
B 116 of 255 = 45%
R + G + B ~ 58%. #A5A274 is middle color (not dark and not light).
R + G + B =
165 + 162 + 116 = 443 (100%)
R 165 of 443 ~ 37.25%
G 162 of 443 ~ 36.57%
B 116 of 443 ~ 26.19%
#A5A274 color CMYK value is (0,2,30,35).
CMYK: (0,2,30,35) C0M2Y30K35 (0%,2%,30%,35%) (0.00/0.02/0.30/0.35)
A5 | A2 | 74 | |
---|---|---|---|
RGB | 165 | 162 | 116 |
HSL | 56° | 21.40% | 55.10% |
HSB/HSV | 56° | 29.70% | 64.71% |
CMYK | 0.00% | 1.82% | 29.70% |
35.29% |
HEX | A5 | A2 | 74 |
Decimal | 165 | 162 | 116 |
Binary | 10100101 | 10100010 | 1110100 |
Octal | 245 | 242 | 164 |
Examples of css and html codes for elements with #A5A274 color. Also use rgb(165,162,116) instead hex code.
.myTextColor { color: #A5A274; }
<p style="color:#A5A274">This sample text font color is #A5A274.</p>
This text font color is #A5A274.
.myBgColor { background-color: #A5A274; }
<div style="background-color:#A5A274">Inner text</div>
This div background color is #A5A274.
.myBorderColor { border: 1px solid #A5A274; }
<div style="border:3px solid #A5A274">Div</div>
This div border color is #A5A274.
.myOpacity80 { color: #A5A274; opacity: 0.8; }
<p style="color:#A5A274;opacity:0.8;">80%</p>
Text with #A5A274 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5A274;}
<p style="text-shadow: 3px 3px 1px #A5A274">Text here.</p>
This text has shadow with #A5A274 color.
.textShadow {text-shadow: 3px 3px 1px #A5A274, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5A274, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5A274 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5A274, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5A274, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5A274 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5A274; -webkit-box-shadow: 1px 1px 3px 2px #A5A274; box-shadow: 1px 1px 3px 2px #A5A274; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5A274; -webkit-box-shadow: 1px 1px 3px 2px #A5A274; box-shadow:1px 1px 3px 2px #A5A274;">
Div content here</div>
This text has color #A5A274 on black background.
This text has color #A5A274 on white background.
This text has black color on #A5A274 background.
This text has white color on #A5A274 background.