HEX: #DCC997
RGB: (220,201,151)
#DCC997 contains mainly red and green colors. Web safe color of #DCC997 is #CCCC99 (or #CC9).
#DCC997 color RGB value is (220,201,151).
RGB: (220,201,151) (86%,79%,59%)
R 220 of 255 = 86%
G 201 of 255 = 79%
B 151 of 255 = 59%
R + G + B ~ 75%. #DCC997 is quite light color.
R + G + B =
220 + 201 + 151 = 572 (100%)
R 220 of 572 ~ 38.46%
G 201 of 572 ~ 35.14%
B 151 of 572 ~ 26.4%
#DCC997 color CMYK value is (0,9,31,14).
CMYK: (0,9,31,14) C0M9Y31K14 (0%,9%,31%,14%) (0.00/0.09/0.31/0.14)
DC | C9 | 97 | |
---|---|---|---|
RGB | 220 | 201 | 151 |
HSL | 43° | 49.64% | 72.75% |
HSB/HSV | 43° | 31.36% | 86.27% |
CMYK | 0.00% | 8.64% | 31.36% |
13.73% |
HEX | DC | C9 | 97 |
Decimal | 220 | 201 | 151 |
Binary | 11011100 | 11001001 | 10010111 |
Octal | 334 | 311 | 227 |
Examples of css and html codes for elements with #DCC997 color. Also use rgb(220,201,151) instead hex code.
.myTextColor { color: #DCC997; }
<p style="color:#DCC997">This sample text font color is #DCC997.</p>
This text font color is #DCC997.
.myBgColor { background-color: #DCC997; }
<div style="background-color:#DCC997">Inner text</div>
This div background color is #DCC997.
.myBorderColor { border: 1px solid #DCC997; }
<div style="border:3px solid #DCC997">Div</div>
This div border color is #DCC997.
.myOpacity80 { color: #DCC997; opacity: 0.8; }
<p style="color:#DCC997;opacity:0.8;">80%</p>
Text with #DCC997 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCC997;}
<p style="text-shadow: 3px 3px 1px #DCC997">Text here.</p>
This text has shadow with #DCC997 color.
.textShadow {text-shadow: 3px 3px 1px #DCC997, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCC997, 5px 5px 20px red">Text here.</p>
This text has shadow with #DCC997 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCC997, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCC997, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCC997 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCC997; -webkit-box-shadow: 1px 1px 3px 2px #DCC997; box-shadow: 1px 1px 3px 2px #DCC997; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCC997; -webkit-box-shadow: 1px 1px 3px 2px #DCC997; box-shadow:1px 1px 3px 2px #DCC997;">
Div content here</div>
This text has color #DCC997 on black background.
This text has color #DCC997 on white background.
This text has black color on #DCC997 background.
This text has white color on #DCC997 background.