HEX: #DDC57D
RGB: (221,197,125)
#DDC57D contains mainly red and green colors. Web safe color of #DDC57D is #CCCC66 (or #CC6).
#DDC57D color RGB value is (221,197,125).
RGB: (221,197,125) (87%,77%,49%)
R 221 of 255 = 87%
G 197 of 255 = 77%
B 125 of 255 = 49%
R + G + B ~ 71%. #DDC57D is quite light color.
R + G + B =
221 + 197 + 125 = 543 (100%)
R 221 of 543 ~ 40.7%
G 197 of 543 ~ 36.28%
B 125 of 543 ~ 23.02%
#DDC57D color CMYK value is (0,11,43,13).
CMYK: (0,11,43,13) C0M11Y43K13 (0%,11%,43%,13%) (0.00/0.11/0.43/0.13)
DD | C5 | 7D | |
---|---|---|---|
RGB | 221 | 197 | 125 |
HSL | 45° | 58.54% | 67.84% |
HSB/HSV | 45° | 43.44% | 86.67% |
CMYK | 0.00% | 10.86% | 43.44% |
13.33% |
HEX | DD | C5 | 7D |
Decimal | 221 | 197 | 125 |
Binary | 11011101 | 11000101 | 1111101 |
Octal | 335 | 305 | 175 |
Examples of css and html codes for elements with #DDC57D color. Also use rgb(221,197,125) instead hex code.
.myTextColor { color: #DDC57D; }
<p style="color:#DDC57D">This sample text font color is #DDC57D.</p>
This text font color is #DDC57D.
.myBgColor { background-color: #DDC57D; }
<div style="background-color:#DDC57D">Inner text</div>
This div background color is #DDC57D.
.myBorderColor { border: 1px solid #DDC57D; }
<div style="border:3px solid #DDC57D">Div</div>
This div border color is #DDC57D.
.myOpacity80 { color: #DDC57D; opacity: 0.8; }
<p style="color:#DDC57D;opacity:0.8;">80%</p>
Text with #DDC57D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DDC57D;}
<p style="text-shadow: 3px 3px 1px #DDC57D">Text here.</p>
This text has shadow with #DDC57D color.
.textShadow {text-shadow: 3px 3px 1px #DDC57D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DDC57D, 5px 5px 20px red">Text here.</p>
This text has shadow with #DDC57D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DDC57D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DDC57D, Direction=45, Strength=4)">Text</p>
This text has shadow with #DDC57D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DDC57D; -webkit-box-shadow: 1px 1px 3px 2px #DDC57D; box-shadow: 1px 1px 3px 2px #DDC57D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DDC57D; -webkit-box-shadow: 1px 1px 3px 2px #DDC57D; box-shadow:1px 1px 3px 2px #DDC57D;">
Div content here</div>
This text has color #DDC57D on black background.
This text has color #DDC57D on white background.
This text has black color on #DDC57D background.
This text has white color on #DDC57D background.