HEX: #D9A639
RGB: (217,166,57)
#D9A639 contains mainly red and green colors. Web safe color of #D9A639 is #CC9933 (or #C93).
#D9A639 color RGB value is (217,166,57).
RGB: (217,166,57) (85%,65%,22%)
R 217 of 255 = 85%
G 166 of 255 = 65%
B 57 of 255 = 22%
R + G + B ~ 57%. #D9A639 is middle color (not dark and not light).
R + G + B =
217 + 166 + 57 = 440 (100%)
R 217 of 440 ~ 49.32%
G 166 of 440 ~ 37.73%
B 57 of 440 ~ 12.95%
#D9A639 color CMYK value is (0,24,74,15).
CMYK: (0,24,74,15) C0M24Y74K15 (0%,24%,74%,15%) (0.00/0.24/0.74/0.15)
D9 | A6 | 39 | |
---|---|---|---|
RGB | 217 | 166 | 57 |
HSL | 41° | 67.80% | 53.73% |
HSB/HSV | 41° | 73.73% | 85.10% |
CMYK | 0.00% | 23.50% | 73.73% |
14.90% |
HEX | D9 | A6 | 39 |
Decimal | 217 | 166 | 57 |
Binary | 11011001 | 10100110 | 111001 |
Octal | 331 | 246 | 71 |
Examples of css and html codes for elements with #D9A639 color. Also use rgb(217,166,57) instead hex code.
.myTextColor { color: #D9A639; }
<p style="color:#D9A639">This sample text font color is #D9A639.</p>
This text font color is #D9A639.
.myBgColor { background-color: #D9A639; }
<div style="background-color:#D9A639">Inner text</div>
This div background color is #D9A639.
.myBorderColor { border: 1px solid #D9A639; }
<div style="border:3px solid #D9A639">Div</div>
This div border color is #D9A639.
.myOpacity80 { color: #D9A639; opacity: 0.8; }
<p style="color:#D9A639;opacity:0.8;">80%</p>
Text with #D9A639 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9A639;}
<p style="text-shadow: 3px 3px 1px #D9A639">Text here.</p>
This text has shadow with #D9A639 color.
.textShadow {text-shadow: 3px 3px 1px #D9A639, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9A639, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9A639 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9A639, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9A639, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9A639 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9A639; -webkit-box-shadow: 1px 1px 3px 2px #D9A639; box-shadow: 1px 1px 3px 2px #D9A639; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9A639; -webkit-box-shadow: 1px 1px 3px 2px #D9A639; box-shadow:1px 1px 3px 2px #D9A639;">
Div content here</div>
This text has color #D9A639 on black background.
This text has color #D9A639 on white background.
This text has black color on #D9A639 background.
This text has white color on #D9A639 background.