HEX: #AD795F
RGB: (173,121,95)
#AD795F contains mainly red and green colors. Web safe color of #AD795F is #996666 (or #966).
#AD795F color RGB value is (173,121,95).
RGB: (173,121,95) (68%,47%,37%)
R 173 of 255 = 68%
G 121 of 255 = 47%
B 95 of 255 = 37%
R + G + B ~ 51%. #AD795F is middle color (not dark and not light).
R + G + B =
173 + 121 + 95 = 389 (100%)
R 173 of 389 ~ 44.47%
G 121 of 389 ~ 31.11%
B 95 of 389 ~ 24.42%
#AD795F color CMYK value is (0,30,45,32).
CMYK: (0,30,45,32) C0M30Y45K32 (0%,30%,45%,32%) (0.00/0.30/0.45/0.32)
AD | 79 | 5F | |
---|---|---|---|
RGB | 173 | 121 | 95 |
HSL | 20° | 32.23% | 52.55% |
HSB/HSV | 20° | 45.09% | 67.84% |
CMYK | 0.00% | 30.06% | 45.09% |
32.16% |
HEX | AD | 79 | 5F |
Decimal | 173 | 121 | 95 |
Binary | 10101101 | 1111001 | 1011111 |
Octal | 255 | 171 | 137 |
Examples of css and html codes for elements with #AD795F color. Also use rgb(173,121,95) instead hex code.
.myTextColor { color: #AD795F; }
<p style="color:#AD795F">This sample text font color is #AD795F.</p>
This text font color is #AD795F.
.myBgColor { background-color: #AD795F; }
<div style="background-color:#AD795F">Inner text</div>
This div background color is #AD795F.
.myBorderColor { border: 1px solid #AD795F; }
<div style="border:3px solid #AD795F">Div</div>
This div border color is #AD795F.
.myOpacity80 { color: #AD795F; opacity: 0.8; }
<p style="color:#AD795F;opacity:0.8;">80%</p>
Text with #AD795F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD795F;}
<p style="text-shadow: 3px 3px 1px #AD795F">Text here.</p>
This text has shadow with #AD795F color.
.textShadow {text-shadow: 3px 3px 1px #AD795F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD795F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD795F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD795F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD795F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD795F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD795F; -webkit-box-shadow: 1px 1px 3px 2px #AD795F; box-shadow: 1px 1px 3px 2px #AD795F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD795F; -webkit-box-shadow: 1px 1px 3px 2px #AD795F; box-shadow:1px 1px 3px 2px #AD795F;">
Div content here</div>
This text has color #AD795F on black background.
This text has color #AD795F on white background.
This text has black color on #AD795F background.
This text has white color on #AD795F background.