HEX: #DCC603
RGB: (220,198,3)
#DCC603 contains mainly red and green colors. Web safe color of #DCC603 is #CCCC00 (or #CC0).
#DCC603 color RGB value is (220,198,3).
RGB: (220,198,3) (86%,78%,1%)
R 220 of 255 = 86%
G 198 of 255 = 78%
B 3 of 255 = 1%
R + G + B ~ 55%. #DCC603 is middle color (not dark and not light).
R + G + B =
220 + 198 + 3 = 421 (100%)
R 220 of 421 ~ 52.26%
G 198 of 421 ~ 47.03%
B 3 of 421 ~ 0.71%
#DCC603 color CMYK value is (0,10,99,14).
CMYK: (0,10,99,14) C0M10Y99K14 (0%,10%,99%,14%) (0.00/0.10/0.99/0.14)
DC | C6 | 03 | |
---|---|---|---|
RGB | 220 | 198 | 3 |
HSL | 54° | 97.31% | 43.73% |
HSB/HSV | 54° | 98.64% | 86.27% |
CMYK | 0.00% | 10.00% | 98.64% |
13.73% |
HEX | DC | C6 | 03 |
Decimal | 220 | 198 | 3 |
Binary | 11011100 | 11000110 | 11 |
Octal | 334 | 306 | 3 |
Examples of css and html codes for elements with #DCC603 color. Also use rgb(220,198,3) instead hex code.
.myTextColor { color: #DCC603; }
<p style="color:#DCC603">This sample text font color is #DCC603.</p>
This text font color is #DCC603.
.myBgColor { background-color: #DCC603; }
<div style="background-color:#DCC603">Inner text</div>
This div background color is #DCC603.
.myBorderColor { border: 1px solid #DCC603; }
<div style="border:3px solid #DCC603">Div</div>
This div border color is #DCC603.
.myOpacity80 { color: #DCC603; opacity: 0.8; }
<p style="color:#DCC603;opacity:0.8;">80%</p>
Text with #DCC603 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCC603;}
<p style="text-shadow: 3px 3px 1px #DCC603">Text here.</p>
This text has shadow with #DCC603 color.
.textShadow {text-shadow: 3px 3px 1px #DCC603, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCC603, 5px 5px 20px red">Text here.</p>
This text has shadow with #DCC603 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCC603, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCC603, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCC603 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCC603; -webkit-box-shadow: 1px 1px 3px 2px #DCC603; box-shadow: 1px 1px 3px 2px #DCC603; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCC603; -webkit-box-shadow: 1px 1px 3px 2px #DCC603; box-shadow:1px 1px 3px 2px #DCC603;">
Div content here</div>
This text has color #DCC603 on black background.
This text has color #DCC603 on white background.
This text has black color on #DCC603 background.
This text has white color on #DCC603 background.