HEX: #D9C999
RGB: (217,201,153)
#D9C999 contains mainly red and green colors. Web safe color of #D9C999 is #CCCC99 (or #CC9).
#D9C999 color RGB value is (217,201,153).
RGB: (217,201,153) (85%,79%,60%)
R 217 of 255 = 85%
G 201 of 255 = 79%
B 153 of 255 = 60%
R + G + B ~ 75%. #D9C999 is quite light color.
R + G + B =
217 + 201 + 153 = 571 (100%)
R 217 of 571 ~ 38%
G 201 of 571 ~ 35.2%
B 153 of 571 ~ 26.8%
#D9C999 color CMYK value is (0,7,29,15).
CMYK: (0,7,29,15) C0M7Y29K15 (0%,7%,29%,15%) (0.00/0.07/0.29/0.15)
D9 | C9 | 99 | |
---|---|---|---|
RGB | 217 | 201 | 153 |
HSL | 45° | 45.71% | 72.55% |
HSB/HSV | 45° | 29.49% | 85.10% |
CMYK | 0.00% | 7.37% | 29.49% |
14.90% |
HEX | D9 | C9 | 99 |
Decimal | 217 | 201 | 153 |
Binary | 11011001 | 11001001 | 10011001 |
Octal | 331 | 311 | 231 |
Examples of css and html codes for elements with #D9C999 color. Also use rgb(217,201,153) instead hex code.
.myTextColor { color: #D9C999; }
<p style="color:#D9C999">This sample text font color is #D9C999.</p>
This text font color is #D9C999.
.myBgColor { background-color: #D9C999; }
<div style="background-color:#D9C999">Inner text</div>
This div background color is #D9C999.
.myBorderColor { border: 1px solid #D9C999; }
<div style="border:3px solid #D9C999">Div</div>
This div border color is #D9C999.
.myOpacity80 { color: #D9C999; opacity: 0.8; }
<p style="color:#D9C999;opacity:0.8;">80%</p>
Text with #D9C999 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C999;}
<p style="text-shadow: 3px 3px 1px #D9C999">Text here.</p>
This text has shadow with #D9C999 color.
.textShadow {text-shadow: 3px 3px 1px #D9C999, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C999, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9C999 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C999, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C999, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C999 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C999; -webkit-box-shadow: 1px 1px 3px 2px #D9C999; box-shadow: 1px 1px 3px 2px #D9C999; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C999; -webkit-box-shadow: 1px 1px 3px 2px #D9C999; box-shadow:1px 1px 3px 2px #D9C999;">
Div content here</div>
This text has color #D9C999 on black background.
This text has color #D9C999 on white background.
This text has black color on #D9C999 background.
This text has white color on #D9C999 background.