HEX: #DCD88D
RGB: (220,216,141)
#DCD88D contains mainly red and green colors. Web safe color of #DCD88D is #CCCC99 (or #CC9).
#DCD88D color RGB value is (220,216,141).
RGB: (220,216,141) (86%,85%,55%)
R 220 of 255 = 86%
G 216 of 255 = 85%
B 141 of 255 = 55%
R + G + B ~ 75%. #DCD88D is quite light color.
R + G + B =
220 + 216 + 141 = 577 (100%)
R 220 of 577 ~ 38.13%
G 216 of 577 ~ 37.44%
B 141 of 577 ~ 24.44%
#DCD88D color CMYK value is (0,2,36,14).
CMYK: (0,2,36,14) C0M2Y36K14 (0%,2%,36%,14%) (0.00/0.02/0.36/0.14)
DC | D8 | 8D | |
---|---|---|---|
RGB | 220 | 216 | 141 |
HSL | 57° | 53.02% | 70.78% |
HSB/HSV | 57° | 35.91% | 86.27% |
CMYK | 0.00% | 1.82% | 35.91% |
13.73% |
HEX | DC | D8 | 8D |
Decimal | 220 | 216 | 141 |
Binary | 11011100 | 11011000 | 10001101 |
Octal | 334 | 330 | 215 |
Examples of css and html codes for elements with #DCD88D color. Also use rgb(220,216,141) instead hex code.
.myTextColor { color: #DCD88D; }
<p style="color:#DCD88D">This sample text font color is #DCD88D.</p>
This text font color is #DCD88D.
.myBgColor { background-color: #DCD88D; }
<div style="background-color:#DCD88D">Inner text</div>
This div background color is #DCD88D.
.myBorderColor { border: 1px solid #DCD88D; }
<div style="border:3px solid #DCD88D">Div</div>
This div border color is #DCD88D.
.myOpacity80 { color: #DCD88D; opacity: 0.8; }
<p style="color:#DCD88D;opacity:0.8;">80%</p>
Text with #DCD88D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCD88D;}
<p style="text-shadow: 3px 3px 1px #DCD88D">Text here.</p>
This text has shadow with #DCD88D color.
.textShadow {text-shadow: 3px 3px 1px #DCD88D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCD88D, 5px 5px 20px red">Text here.</p>
This text has shadow with #DCD88D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCD88D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCD88D, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCD88D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCD88D; -webkit-box-shadow: 1px 1px 3px 2px #DCD88D; box-shadow: 1px 1px 3px 2px #DCD88D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCD88D; -webkit-box-shadow: 1px 1px 3px 2px #DCD88D; box-shadow:1px 1px 3px 2px #DCD88D;">
Div content here</div>
This text has color #DCD88D on black background.
This text has color #DCD88D on white background.
This text has black color on #DCD88D background.
This text has white color on #DCD88D background.