HEX: #D9C6AA
RGB: (217,198,170)
#D9C6AA contains red, green and blue colors in about the same proportion. Web safe color of #D9C6AA is #CCCC99 (or #CC9).
#D9C6AA color RGB value is (217,198,170).
RGB: (217,198,170) (85%,78%,67%)
R 217 of 255 = 85%
G 198 of 255 = 78%
B 170 of 255 = 67%
R + G + B ~ 77%. #D9C6AA is quite light color.
R + G + B =
217 + 198 + 170 = 585 (100%)
R 217 of 585 ~ 37.09%
G 198 of 585 ~ 33.85%
B 170 of 585 ~ 29.06%
#D9C6AA color CMYK value is (0,9,22,15).
CMYK: (0,9,22,15) C0M9Y22K15 (0%,9%,22%,15%) (0.00/0.09/0.22/0.15)
D9 | C6 | AA | |
---|---|---|---|
RGB | 217 | 198 | 170 |
HSL | 36° | 38.21% | 75.88% |
HSB/HSV | 36° | 21.66% | 85.10% |
CMYK | 0.00% | 8.76% | 21.66% |
14.90% |
HEX | D9 | C6 | AA |
Decimal | 217 | 198 | 170 |
Binary | 11011001 | 11000110 | 10101010 |
Octal | 331 | 306 | 252 |
Examples of css and html codes for elements with #D9C6AA color. Also use rgb(217,198,170) instead hex code.
.myTextColor { color: #D9C6AA; }
<p style="color:#D9C6AA">This sample text font color is #D9C6AA.</p>
This text font color is #D9C6AA.
.myBgColor { background-color: #D9C6AA; }
<div style="background-color:#D9C6AA">Inner text</div>
This div background color is #D9C6AA.
.myBorderColor { border: 1px solid #D9C6AA; }
<div style="border:3px solid #D9C6AA">Div</div>
This div border color is #D9C6AA.
.myOpacity80 { color: #D9C6AA; opacity: 0.8; }
<p style="color:#D9C6AA;opacity:0.8;">80%</p>
Text with #D9C6AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D9C6AA;}
<p style="text-shadow: 3px 3px 1px #D9C6AA">Text here.</p>
This text has shadow with #D9C6AA color.
.textShadow {text-shadow: 3px 3px 1px #D9C6AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D9C6AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #D9C6AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D9C6AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D9C6AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #D9C6AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D9C6AA; -webkit-box-shadow: 1px 1px 3px 2px #D9C6AA; box-shadow: 1px 1px 3px 2px #D9C6AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D9C6AA; -webkit-box-shadow: 1px 1px 3px 2px #D9C6AA; box-shadow:1px 1px 3px 2px #D9C6AA;">
Div content here</div>
This text has color #D9C6AA on black background.
This text has color #D9C6AA on white background.
This text has black color on #D9C6AA background.
This text has white color on #D9C6AA background.