HEX: #AD9F5A
RGB: (173,159,90)
#AD9F5A contains mainly red and green colors. Web safe color of #AD9F5A is #999966 (or #996).
#AD9F5A color RGB value is (173,159,90).
RGB: (173,159,90) (68%,62%,35%)
R 173 of 255 = 68%
G 159 of 255 = 62%
B 90 of 255 = 35%
R + G + B ~ 55%. #AD9F5A is middle color (not dark and not light).
R + G + B =
173 + 159 + 90 = 422 (100%)
R 173 of 422 ~ 41%
G 159 of 422 ~ 37.68%
B 90 of 422 ~ 21.33%
#AD9F5A color CMYK value is (0,8,48,32).
CMYK: (0,8,48,32) C0M8Y48K32 (0%,8%,48%,32%) (0.00/0.08/0.48/0.32)
AD | 9F | 5A | |
---|---|---|---|
RGB | 173 | 159 | 90 |
HSL | 50° | 33.60% | 51.57% |
HSB/HSV | 50° | 47.98% | 67.84% |
CMYK | 0.00% | 8.09% | 47.98% |
32.16% |
HEX | AD | 9F | 5A |
Decimal | 173 | 159 | 90 |
Binary | 10101101 | 10011111 | 1011010 |
Octal | 255 | 237 | 132 |
Examples of css and html codes for elements with #AD9F5A color. Also use rgb(173,159,90) instead hex code.
.myTextColor { color: #AD9F5A; }
<p style="color:#AD9F5A">This sample text font color is #AD9F5A.</p>
This text font color is #AD9F5A.
.myBgColor { background-color: #AD9F5A; }
<div style="background-color:#AD9F5A">Inner text</div>
This div background color is #AD9F5A.
.myBorderColor { border: 1px solid #AD9F5A; }
<div style="border:3px solid #AD9F5A">Div</div>
This div border color is #AD9F5A.
.myOpacity80 { color: #AD9F5A; opacity: 0.8; }
<p style="color:#AD9F5A;opacity:0.8;">80%</p>
Text with #AD9F5A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD9F5A;}
<p style="text-shadow: 3px 3px 1px #AD9F5A">Text here.</p>
This text has shadow with #AD9F5A color.
.textShadow {text-shadow: 3px 3px 1px #AD9F5A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD9F5A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD9F5A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD9F5A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD9F5A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD9F5A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD9F5A; -webkit-box-shadow: 1px 1px 3px 2px #AD9F5A; box-shadow: 1px 1px 3px 2px #AD9F5A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD9F5A; -webkit-box-shadow: 1px 1px 3px 2px #AD9F5A; box-shadow:1px 1px 3px 2px #AD9F5A;">
Div content here</div>
This text has color #AD9F5A on black background.
This text has color #AD9F5A on white background.
This text has black color on #AD9F5A background.
This text has white color on #AD9F5A background.