HEX: #A5B951
RGB: (165,185,81)
#A5B951 contains mainly red and green colors. Web safe color of #A5B951 is #99CC66 (or #9C6).
#A5B951 color RGB value is (165,185,81).
RGB: (165,185,81) (65%,73%,32%)
R 165 of 255 = 65%
G 185 of 255 = 73%
B 81 of 255 = 32%
R + G + B ~ 57%. #A5B951 is middle color (not dark and not light).
R + G + B =
165 + 185 + 81 = 431 (100%)
R 165 of 431 ~ 38.28%
G 185 of 431 ~ 42.92%
B 81 of 431 ~ 18.79%
#A5B951 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 | 51 | |
---|---|---|---|
RGB | 165 | 185 | 81 |
HSL | 72° | 42.62% | 52.16% |
HSB/HSV | 72° | 56.22% | 72.55% |
CMYK | 10.81% | 0.00% | 56.22% |
27.45% |
HEX | A5 | B9 | 51 |
Decimal | 165 | 185 | 81 |
Binary | 10100101 | 10111001 | 1010001 |
Octal | 245 | 271 | 121 |
Examples of css and html codes for elements with #A5B951 color. Also use rgb(165,185,81) instead hex code.
.myTextColor { color: #A5B951; }
<p style="color:#A5B951">This sample text font color is #A5B951.</p>
This text font color is #A5B951.
.myBgColor { background-color: #A5B951; }
<div style="background-color:#A5B951">Inner text</div>
This div background color is #A5B951.
.myBorderColor { border: 1px solid #A5B951; }
<div style="border:3px solid #A5B951">Div</div>
This div border color is #A5B951.
.myOpacity80 { color: #A5B951; opacity: 0.8; }
<p style="color:#A5B951;opacity:0.8;">80%</p>
Text with #A5B951 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #A5B951;}
<p style="text-shadow: 3px 3px 1px #A5B951">Text here.</p>
This text has shadow with #A5B951 color.
.textShadow {text-shadow: 3px 3px 1px #A5B951, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #A5B951, 5px 5px 20px red">Text here.</p>
This text has shadow with #A5B951 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#A5B951, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#A5B951, Direction=45, Strength=4)">Text</p>
This text has shadow with #A5B951 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #A5B951; -webkit-box-shadow: 1px 1px 3px 2px #A5B951; box-shadow: 1px 1px 3px 2px #A5B951; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #A5B951; -webkit-box-shadow: 1px 1px 3px 2px #A5B951; box-shadow:1px 1px 3px 2px #A5B951;">
Div content here</div>
This text has color #A5B951 on black background.
This text has color #A5B951 on white background.
This text has black color on #A5B951 background.
This text has white color on #A5B951 background.