HEX: #DCC57D
RGB: (220,197,125)
#DCC57D contains mainly red and green colors. Web safe color of #DCC57D is #CCCC66 (or #CC6).
#DCC57D color RGB value is (220,197,125).
RGB: (220,197,125) (86%,77%,49%)
R 220 of 255 = 86%
G 197 of 255 = 77%
B 125 of 255 = 49%
R + G + B ~ 71%. #DCC57D is quite light color.
R + G + B =
220 + 197 + 125 = 542 (100%)
R 220 of 542 ~ 40.59%
G 197 of 542 ~ 36.35%
B 125 of 542 ~ 23.06%
#DCC57D color CMYK value is (0,10,43,14).
CMYK: (0,10,43,14) C0M10Y43K14 (0%,10%,43%,14%) (0.00/0.10/0.43/0.14)
DC | C5 | 7D | |
---|---|---|---|
RGB | 220 | 197 | 125 |
HSL | 45° | 57.58% | 67.65% |
HSB/HSV | 45° | 43.18% | 86.27% |
CMYK | 0.00% | 10.45% | 43.18% |
13.73% |
HEX | DC | C5 | 7D |
Decimal | 220 | 197 | 125 |
Binary | 11011100 | 11000101 | 1111101 |
Octal | 334 | 305 | 175 |
Examples of css and html codes for elements with #DCC57D color. Also use rgb(220,197,125) instead hex code.
.myTextColor { color: #DCC57D; }
<p style="color:#DCC57D">This sample text font color is #DCC57D.</p>
This text font color is #DCC57D.
.myBgColor { background-color: #DCC57D; }
<div style="background-color:#DCC57D">Inner text</div>
This div background color is #DCC57D.
.myBorderColor { border: 1px solid #DCC57D; }
<div style="border:3px solid #DCC57D">Div</div>
This div border color is #DCC57D.
.myOpacity80 { color: #DCC57D; opacity: 0.8; }
<p style="color:#DCC57D;opacity:0.8;">80%</p>
Text with #DCC57D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCC57D;}
<p style="text-shadow: 3px 3px 1px #DCC57D">Text here.</p>
This text has shadow with #DCC57D color.
.textShadow {text-shadow: 3px 3px 1px #DCC57D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCC57D, 5px 5px 20px red">Text here.</p>
This text has shadow with #DCC57D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCC57D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCC57D, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCC57D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCC57D; -webkit-box-shadow: 1px 1px 3px 2px #DCC57D; box-shadow: 1px 1px 3px 2px #DCC57D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCC57D; -webkit-box-shadow: 1px 1px 3px 2px #DCC57D; box-shadow:1px 1px 3px 2px #DCC57D;">
Div content here</div>
This text has color #DCC57D on black background.
This text has color #DCC57D on white background.
This text has black color on #DCC57D background.
This text has white color on #DCC57D background.