HEX: #DCC72C
RGB: (220,199,44)
#DCC72C contains mainly red and green colors. Web safe color of #DCC72C is #CCCC33 (or #CC3).
#DCC72C color RGB value is (220,199,44).
RGB: (220,199,44) (86%,78%,17%)
R 220 of 255 = 86%
G 199 of 255 = 78%
B 44 of 255 = 17%
R + G + B ~ 60%. #DCC72C is middle color (not dark and not light).
R + G + B =
220 + 199 + 44 = 463 (100%)
R 220 of 463 ~ 47.52%
G 199 of 463 ~ 42.98%
B 44 of 463 ~ 9.5%
#DCC72C color CMYK value is (0,10,80,14).
CMYK: (0,10,80,14) C0M10Y80K14 (0%,10%,80%,14%) (0.00/0.10/0.80/0.14)
DC | C7 | 2C | |
---|---|---|---|
RGB | 220 | 199 | 44 |
HSL | 53° | 71.54% | 51.76% |
HSB/HSV | 53° | 80.00% | 86.27% |
CMYK | 0.00% | 9.55% | 80.00% |
13.73% |
HEX | DC | C7 | 2C |
Decimal | 220 | 199 | 44 |
Binary | 11011100 | 11000111 | 101100 |
Octal | 334 | 307 | 54 |
Examples of css and html codes for elements with #DCC72C color. Also use rgb(220,199,44) instead hex code.
.myTextColor { color: #DCC72C; }
<p style="color:#DCC72C">This sample text font color is #DCC72C.</p>
This text font color is #DCC72C.
.myBgColor { background-color: #DCC72C; }
<div style="background-color:#DCC72C">Inner text</div>
This div background color is #DCC72C.
.myBorderColor { border: 1px solid #DCC72C; }
<div style="border:3px solid #DCC72C">Div</div>
This div border color is #DCC72C.
.myOpacity80 { color: #DCC72C; opacity: 0.8; }
<p style="color:#DCC72C;opacity:0.8;">80%</p>
Text with #DCC72C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCC72C;}
<p style="text-shadow: 3px 3px 1px #DCC72C">Text here.</p>
This text has shadow with #DCC72C color.
.textShadow {text-shadow: 3px 3px 1px #DCC72C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCC72C, 5px 5px 20px red">Text here.</p>
This text has shadow with #DCC72C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCC72C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCC72C, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCC72C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCC72C; -webkit-box-shadow: 1px 1px 3px 2px #DCC72C; box-shadow: 1px 1px 3px 2px #DCC72C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCC72C; -webkit-box-shadow: 1px 1px 3px 2px #DCC72C; box-shadow:1px 1px 3px 2px #DCC72C;">
Div content here</div>
This text has color #DCC72C on black background.
This text has color #DCC72C on white background.
This text has black color on #DCC72C background.
This text has white color on #DCC72C background.