HEX: #A5B952
RGB: (165,185,82)
#A5B952 contains mainly red and green colors. Web safe color of #A5B952 is #99CC66 (or #9C6).
#A5B952 color RGB value is (165,185,82).
RGB: (165,185,82) (65%,73%,32%)
R 165 of 255 = 65%
G 185 of 255 = 73%
B 82 of 255 = 32%
R + G + B ~ 57%. #A5B952 is middle color (not dark and not light).
R + G + B =
165 + 185 + 82 = 432 (100%)
R 165 of 432 ~ 38.19%
G 185 of 432 ~ 42.82%
B 82 of 432 ~ 18.98%
#A5B952 color CMYK value is (11,0,56,27).
CMYK: (11,0,56,27) C11M0Y56K27 (11%,0%,56%,27%) (0.11/0.00/0.56/0.27)
A5 | B9 | 52 | |
---|---|---|---|
RGB | 165 | 185 | 82 |
HSL | 72° | 42.39% | 52.35% |
HSB/HSV | 72° | 55.68% | 72.55% |
CMYK | 10.81% | 0.00% | 55.68% |
27.45% |
HEX | A5 | B9 | 52 |
Decimal | 165 | 185 | 82 |
Binary | 10100101 | 10111001 | 1010010 |
Octal | 245 | 271 | 122 |
Examples of css and html codes for elements with #A5B952 color. Also use rgb(165,185,82) instead hex code.
.myTextColor { color: #A5B952; }
<p style="color:#A5B952">This sample text font color is #A5B952.</p>
This text font color is #A5B952.
.myBgColor { background-color: #A5B952; }
<div style="background-color:#A5B952">Inner text</div>
This div background color is #A5B952.
.myBorderColor { border: 1px solid #A5B952; }
<div style="border:3px solid #A5B952">Div</div>
This div border color is #A5B952.
.myOpacity80 { color: #A5B952; opacity: 0.8; }
<p style="color:#A5B952;opacity:0.8;">80%</p>
Text with #A5B952 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5B952;}
<p style="text-shadow: 3px 3px 1px #A5B952">Text here.</p>
This text has shadow with #A5B952 color.
.textShadow {text-shadow: 3px 3px 1px #A5B952, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5B952, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5B952 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5B952, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5B952, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5B952 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5B952; -webkit-box-shadow: 1px 1px 3px 2px #A5B952; box-shadow: 1px 1px 3px 2px #A5B952; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5B952; -webkit-box-shadow: 1px 1px 3px 2px #A5B952; box-shadow:1px 1px 3px 2px #A5B952;">
Div content here</div>
This text has color #A5B952 on black background.
This text has color #A5B952 on white background.
This text has black color on #A5B952 background.
This text has white color on #A5B952 background.