HEX: #D8C888
RGB: (216,200,136)
#D8C888 contains mainly red and green colors. Web safe color of #D8C888 is #CCCC99 (or #CC9).
#D8C888 color RGB value is (216,200,136).
RGB: (216,200,136) (85%,78%,53%)
R 216 of 255 = 85%
G 200 of 255 = 78%
B 136 of 255 = 53%
R + G + B ~ 72%. #D8C888 is quite light color.
R + G + B =
216 + 200 + 136 = 552 (100%)
R 216 of 552 ~ 39.13%
G 200 of 552 ~ 36.23%
B 136 of 552 ~ 24.64%
#D8C888 color CMYK value is (0,7,37,15).
CMYK: (0,7,37,15) C0M7Y37K15 (0%,7%,37%,15%) (0.00/0.07/0.37/0.15)
D8 | C8 | 88 | |
---|---|---|---|
RGB | 216 | 200 | 136 |
HSL | 48° | 50.63% | 69.02% |
HSB/HSV | 48° | 37.04% | 84.71% |
CMYK | 0.00% | 7.41% | 37.04% |
15.29% |
HEX | D8 | C8 | 88 |
Decimal | 216 | 200 | 136 |
Binary | 11011000 | 11001000 | 10001000 |
Octal | 330 | 310 | 210 |
Examples of css and html codes for elements with #D8C888 color. Also use rgb(216,200,136) instead hex code.
.myTextColor { color: #D8C888; }
<p style="color:#D8C888">This sample text font color is #D8C888.</p>
This text font color is #D8C888.
.myBgColor { background-color: #D8C888; }
<div style="background-color:#D8C888">Inner text</div>
This div background color is #D8C888.
.myBorderColor { border: 1px solid #D8C888; }
<div style="border:3px solid #D8C888">Div</div>
This div border color is #D8C888.
.myOpacity80 { color: #D8C888; opacity: 0.8; }
<p style="color:#D8C888;opacity:0.8;">80%</p>
Text with #D8C888 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #D8C888;}
<p style="text-shadow: 3px 3px 1px #D8C888">Text here.</p>
This text has shadow with #D8C888 color.
.textShadow {text-shadow: 3px 3px 1px #D8C888, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #D8C888, 5px 5px 20px red">Text here.</p>
This text has shadow with #D8C888 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#D8C888, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#D8C888, Direction=45, Strength=4)">Text</p>
This text has shadow with #D8C888 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #D8C888; -webkit-box-shadow: 1px 1px 3px 2px #D8C888; box-shadow: 1px 1px 3px 2px #D8C888; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #D8C888; -webkit-box-shadow: 1px 1px 3px 2px #D8C888; box-shadow:1px 1px 3px 2px #D8C888;">
Div content here</div>
This text has color #D8C888 on black background.
This text has color #D8C888 on white background.
This text has black color on #D8C888 background.
This text has white color on #D8C888 background.