HEX: #D4B99C
RGB: (212,185,156)
#D4B99C contains red, green and blue colors in about the same proportion. Web safe color of #D4B99C is #CCCC99 (or #CC9).
#D4B99C color RGB value is (212,185,156).
RGB: (212,185,156) (83%,73%,61%)
R 212 of 255 = 83%
G 185 of 255 = 73%
B 156 of 255 = 61%
R + G + B ~ 72%. #D4B99C is quite light color.
R + G + B =
212 + 185 + 156 = 553 (100%)
R 212 of 553 ~ 38.34%
G 185 of 553 ~ 33.45%
B 156 of 553 ~ 28.21%
#D4B99C color CMYK value is (0,13,26,17).
CMYK: (0,13,26,17) C0M13Y26K17 (0%,13%,26%,17%) (0.00/0.13/0.26/0.17)
D4 | B9 | 9C | |
---|---|---|---|
RGB | 212 | 185 | 156 |
HSL | 31° | 39.44% | 72.16% |
HSB/HSV | 31° | 26.42% | 83.14% |
CMYK | 0.00% | 12.74% | 26.42% |
16.86% |
HEX | D4 | B9 | 9C |
Decimal | 212 | 185 | 156 |
Binary | 11010100 | 10111001 | 10011100 |
Octal | 324 | 271 | 234 |
Examples of css and html codes for elements with #D4B99C color. Also use rgb(212,185,156) instead hex code.
.myTextColor { color: #D4B99C; }
<p style="color:#D4B99C">This sample text font color is #D4B99C.</p>
This text font color is #D4B99C.
.myBgColor { background-color: #D4B99C; }
<div style="background-color:#D4B99C">Inner text</div>
This div background color is #D4B99C.
.myBorderColor { border: 1px solid #D4B99C; }
<div style="border:3px solid #D4B99C">Div</div>
This div border color is #D4B99C.
.myOpacity80 { color: #D4B99C; opacity: 0.8; }
<p style="color:#D4B99C;opacity:0.8;">80%</p>
Text with #D4B99C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D4B99C;}
<p style="text-shadow: 3px 3px 1px #D4B99C">Text here.</p>
This text has shadow with #D4B99C color.
.textShadow {text-shadow: 3px 3px 1px #D4B99C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D4B99C, 5px 5px 20px red">Text here.</p>
This text has shadow with #D4B99C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D4B99C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D4B99C, Direction=45, Strength=4)">Text</p>
This text has shadow with #D4B99C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D4B99C; -webkit-box-shadow: 1px 1px 3px 2px #D4B99C; box-shadow: 1px 1px 3px 2px #D4B99C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D4B99C; -webkit-box-shadow: 1px 1px 3px 2px #D4B99C; box-shadow:1px 1px 3px 2px #D4B99C;">
Div content here</div>
This text has color #D4B99C on black background.
This text has color #D4B99C on white background.
This text has black color on #D4B99C background.
This text has white color on #D4B99C background.