HEX: #D9AC1E
RGB: (217,172,30)
#D9AC1E contains mainly red and green colors. Web safe color of #D9AC1E is #CC9933 (or #C93).
#D9AC1E color RGB value is (217,172,30).
RGB: (217,172,30) (85%,67%,12%)
R 217 of 255 = 85%
G 172 of 255 = 67%
B 30 of 255 = 12%
R + G + B ~ 55%. #D9AC1E is middle color (not dark and not light).
R + G + B =
217 + 172 + 30 = 419 (100%)
R 217 of 419 ~ 51.79%
G 172 of 419 ~ 41.05%
B 30 of 419 ~ 7.16%
#D9AC1E color CMYK value is (0,21,86,15).
CMYK: (0,21,86,15) C0M21Y86K15 (0%,21%,86%,15%) (0.00/0.21/0.86/0.15)
D9 | AC | 1E | |
---|---|---|---|
RGB | 217 | 172 | 30 |
HSL | 46° | 75.71% | 48.43% |
HSB/HSV | 46° | 86.18% | 85.10% |
CMYK | 0.00% | 20.74% | 86.18% |
14.90% |
HEX | D9 | AC | 1E |
Decimal | 217 | 172 | 30 |
Binary | 11011001 | 10101100 | 11110 |
Octal | 331 | 254 | 36 |
Examples of css and html codes for elements with #D9AC1E color. Also use rgb(217,172,30) instead hex code.
.myTextColor { color: #D9AC1E; }
<p style="color:#D9AC1E">This sample text font color is #D9AC1E.</p>
This text font color is #D9AC1E.
.myBgColor { background-color: #D9AC1E; }
<div style="background-color:#D9AC1E">Inner text</div>
This div background color is #D9AC1E.
.myBorderColor { border: 1px solid #D9AC1E; }
<div style="border:3px solid #D9AC1E">Div</div>
This div border color is #D9AC1E.
.myOpacity80 { color: #D9AC1E; opacity: 0.8; }
<p style="color:#D9AC1E;opacity:0.8;">80%</p>
Text with #D9AC1E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9AC1E;}
<p style="text-shadow: 3px 3px 1px #D9AC1E">Text here.</p>
This text has shadow with #D9AC1E color.
.textShadow {text-shadow: 3px 3px 1px #D9AC1E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9AC1E, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9AC1E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9AC1E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9AC1E, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9AC1E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9AC1E; -webkit-box-shadow: 1px 1px 3px 2px #D9AC1E; box-shadow: 1px 1px 3px 2px #D9AC1E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9AC1E; -webkit-box-shadow: 1px 1px 3px 2px #D9AC1E; box-shadow:1px 1px 3px 2px #D9AC1E;">
Div content here</div>
This text has color #D9AC1E on black background.
This text has color #D9AC1E on white background.
This text has black color on #D9AC1E background.
This text has white color on #D9AC1E background.