HEX: #D9C59A
RGB: (217,197,154)
#D9C59A contains mainly red and green colors. Web safe color of #D9C59A is #CCCC99 (or #CC9).
#D9C59A color RGB value is (217,197,154).
RGB: (217,197,154) (85%,77%,60%)
R 217 of 255 = 85%
G 197 of 255 = 77%
B 154 of 255 = 60%
R + G + B ~ 74%. #D9C59A is quite light color.
R + G + B =
217 + 197 + 154 = 568 (100%)
R 217 of 568 ~ 38.2%
G 197 of 568 ~ 34.68%
B 154 of 568 ~ 27.11%
#D9C59A color CMYK value is (0,9,29,15).
CMYK: (0,9,29,15) C0M9Y29K15 (0%,9%,29%,15%) (0.00/0.09/0.29/0.15)
D9 | C5 | 9A | |
---|---|---|---|
RGB | 217 | 197 | 154 |
HSL | 41° | 45.32% | 72.75% |
HSB/HSV | 41° | 29.03% | 85.10% |
CMYK | 0.00% | 9.22% | 29.03% |
14.90% |
HEX | D9 | C5 | 9A |
Decimal | 217 | 197 | 154 |
Binary | 11011001 | 11000101 | 10011010 |
Octal | 331 | 305 | 232 |
Examples of css and html codes for elements with #D9C59A color. Also use rgb(217,197,154) instead hex code.
.myTextColor { color: #D9C59A; }
<p style="color:#D9C59A">This sample text font color is #D9C59A.</p>
This text font color is #D9C59A.
.myBgColor { background-color: #D9C59A; }
<div style="background-color:#D9C59A">Inner text</div>
This div background color is #D9C59A.
.myBorderColor { border: 1px solid #D9C59A; }
<div style="border:3px solid #D9C59A">Div</div>
This div border color is #D9C59A.
.myOpacity80 { color: #D9C59A; opacity: 0.8; }
<p style="color:#D9C59A;opacity:0.8;">80%</p>
Text with #D9C59A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C59A;}
<p style="text-shadow: 3px 3px 1px #D9C59A">Text here.</p>
This text has shadow with #D9C59A color.
.textShadow {text-shadow: 3px 3px 1px #D9C59A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C59A, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9C59A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C59A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C59A, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C59A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C59A; -webkit-box-shadow: 1px 1px 3px 2px #D9C59A; box-shadow: 1px 1px 3px 2px #D9C59A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C59A; -webkit-box-shadow: 1px 1px 3px 2px #D9C59A; box-shadow:1px 1px 3px 2px #D9C59A;">
Div content here</div>
This text has color #D9C59A on black background.
This text has color #D9C59A on white background.
This text has black color on #D9C59A background.
This text has white color on #D9C59A background.