HEX: #D8AD59
RGB: (216,173,89)
#D8AD59 contains mainly red and green colors. Web safe color of #D8AD59 is #CC9966 (or #C96).
#D8AD59 color RGB value is (216,173,89).
RGB: (216,173,89) (85%,68%,35%)
R 216 of 255 = 85%
G 173 of 255 = 68%
B 89 of 255 = 35%
R + G + B ~ 63%. #D8AD59 is quite light color.
R + G + B =
216 + 173 + 89 = 478 (100%)
R 216 of 478 ~ 45.19%
G 173 of 478 ~ 36.19%
B 89 of 478 ~ 18.62%
#D8AD59 color CMYK value is (0,20,59,15).
CMYK: (0,20,59,15) C0M20Y59K15 (0%,20%,59%,15%) (0.00/0.20/0.59/0.15)
D8 | AD | 59 | |
---|---|---|---|
RGB | 216 | 173 | 89 |
HSL | 40° | 61.95% | 59.80% |
HSB/HSV | 40° | 58.80% | 84.71% |
CMYK | 0.00% | 19.91% | 58.80% |
15.29% |
HEX | D8 | AD | 59 |
Decimal | 216 | 173 | 89 |
Binary | 11011000 | 10101101 | 1011001 |
Octal | 330 | 255 | 131 |
Examples of css and html codes for elements with #D8AD59 color. Also use rgb(216,173,89) instead hex code.
.myTextColor { color: #D8AD59; }
<p style="color:#D8AD59">This sample text font color is #D8AD59.</p>
This text font color is #D8AD59.
.myBgColor { background-color: #D8AD59; }
<div style="background-color:#D8AD59">Inner text</div>
This div background color is #D8AD59.
.myBorderColor { border: 1px solid #D8AD59; }
<div style="border:3px solid #D8AD59">Div</div>
This div border color is #D8AD59.
.myOpacity80 { color: #D8AD59; opacity: 0.8; }
<p style="color:#D8AD59;opacity:0.8;">80%</p>
Text with #D8AD59 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8AD59;}
<p style="text-shadow: 3px 3px 1px #D8AD59">Text here.</p>
This text has shadow with #D8AD59 color.
.textShadow {text-shadow: 3px 3px 1px #D8AD59, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8AD59, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8AD59 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8AD59, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8AD59, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8AD59 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8AD59; -webkit-box-shadow: 1px 1px 3px 2px #D8AD59; box-shadow: 1px 1px 3px 2px #D8AD59; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8AD59; -webkit-box-shadow: 1px 1px 3px 2px #D8AD59; box-shadow:1px 1px 3px 2px #D8AD59;">
Div content here</div>
This text has color #D8AD59 on black background.
This text has color #D8AD59 on white background.
This text has black color on #D8AD59 background.
This text has white color on #D8AD59 background.