HEX: #AD7858
RGB: (173,120,88)
#AD7858 contains mainly red and green colors. Web safe color of #AD7858 is #996666 (or #966).
#AD7858 color RGB value is (173,120,88).
RGB: (173,120,88) (68%,47%,35%)
R 173 of 255 = 68%
G 120 of 255 = 47%
B 88 of 255 = 35%
R + G + B ~ 50%. #AD7858 is middle color (not dark and not light).
R + G + B =
173 + 120 + 88 = 381 (100%)
R 173 of 381 ~ 45.41%
G 120 of 381 ~ 31.5%
B 88 of 381 ~ 23.1%
#AD7858 color CMYK value is (0,31,49,32).
CMYK: (0,31,49,32) C0M31Y49K32 (0%,31%,49%,32%) (0.00/0.31/0.49/0.32)
AD | 78 | 58 | |
---|---|---|---|
RGB | 173 | 120 | 88 |
HSL | 23° | 34.14% | 51.18% |
HSB/HSV | 23° | 49.13% | 67.84% |
CMYK | 0.00% | 30.64% | 49.13% |
32.16% |
HEX | AD | 78 | 58 |
Decimal | 173 | 120 | 88 |
Binary | 10101101 | 1111000 | 1011000 |
Octal | 255 | 170 | 130 |
Examples of css and html codes for elements with #AD7858 color. Also use rgb(173,120,88) instead hex code.
.myTextColor { color: #AD7858; }
<p style="color:#AD7858">This sample text font color is #AD7858.</p>
This text font color is #AD7858.
.myBgColor { background-color: #AD7858; }
<div style="background-color:#AD7858">Inner text</div>
This div background color is #AD7858.
.myBorderColor { border: 1px solid #AD7858; }
<div style="border:3px solid #AD7858">Div</div>
This div border color is #AD7858.
.myOpacity80 { color: #AD7858; opacity: 0.8; }
<p style="color:#AD7858;opacity:0.8;">80%</p>
Text with #AD7858 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD7858;}
<p style="text-shadow: 3px 3px 1px #AD7858">Text here.</p>
This text has shadow with #AD7858 color.
.textShadow {text-shadow: 3px 3px 1px #AD7858, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD7858, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD7858 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD7858, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD7858, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD7858 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD7858; -webkit-box-shadow: 1px 1px 3px 2px #AD7858; box-shadow: 1px 1px 3px 2px #AD7858; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD7858; -webkit-box-shadow: 1px 1px 3px 2px #AD7858; box-shadow:1px 1px 3px 2px #AD7858;">
Div content here</div>
This text has color #AD7858 on black background.
This text has color #AD7858 on white background.
This text has black color on #AD7858 background.
This text has white color on #AD7858 background.