HEX: #D9A55B
RGB: (217,165,91)
#D9A55B contains mainly red and green colors. Web safe color of #D9A55B is #CC9966 (or #C96).
#D9A55B color RGB value is (217,165,91).
RGB: (217,165,91) (85%,65%,36%)
R 217 of 255 = 85%
G 165 of 255 = 65%
B 91 of 255 = 36%
R + G + B ~ 62%. #D9A55B is quite light color.
R + G + B =
217 + 165 + 91 = 473 (100%)
R 217 of 473 ~ 45.88%
G 165 of 473 ~ 34.88%
B 91 of 473 ~ 19.24%
#D9A55B color CMYK value is (0,24,58,15).
CMYK: (0,24,58,15) C0M24Y58K15 (0%,24%,58%,15%) (0.00/0.24/0.58/0.15)
D9 | A5 | 5B | |
---|---|---|---|
RGB | 217 | 165 | 91 |
HSL | 35° | 62.38% | 60.39% |
HSB/HSV | 35° | 58.06% | 85.10% |
CMYK | 0.00% | 23.96% | 58.06% |
14.90% |
HEX | D9 | A5 | 5B |
Decimal | 217 | 165 | 91 |
Binary | 11011001 | 10100101 | 1011011 |
Octal | 331 | 245 | 133 |
Examples of css and html codes for elements with #D9A55B color. Also use rgb(217,165,91) instead hex code.
.myTextColor { color: #D9A55B; }
<p style="color:#D9A55B">This sample text font color is #D9A55B.</p>
This text font color is #D9A55B.
.myBgColor { background-color: #D9A55B; }
<div style="background-color:#D9A55B">Inner text</div>
This div background color is #D9A55B.
.myBorderColor { border: 1px solid #D9A55B; }
<div style="border:3px solid #D9A55B">Div</div>
This div border color is #D9A55B.
.myOpacity80 { color: #D9A55B; opacity: 0.8; }
<p style="color:#D9A55B;opacity:0.8;">80%</p>
Text with #D9A55B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9A55B;}
<p style="text-shadow: 3px 3px 1px #D9A55B">Text here.</p>
This text has shadow with #D9A55B color.
.textShadow {text-shadow: 3px 3px 1px #D9A55B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9A55B, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9A55B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9A55B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9A55B, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9A55B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9A55B; -webkit-box-shadow: 1px 1px 3px 2px #D9A55B; box-shadow: 1px 1px 3px 2px #D9A55B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9A55B; -webkit-box-shadow: 1px 1px 3px 2px #D9A55B; box-shadow:1px 1px 3px 2px #D9A55B;">
Div content here</div>
This text has color #D9A55B on black background.
This text has color #D9A55B on white background.
This text has black color on #D9A55B background.
This text has white color on #D9A55B background.