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