HEX: #DFC300
RGB: (223,195,0)
#DFC300 contains only red and green colors. Web safe color of #DFC300 is #CCCC00 (or #CC0).
#DFC300 color RGB value is (223,195,0).
RGB: (223,195,0) (87%,76%,0%)
R 223 of 255 = 87%
G 195 of 255 = 76%
B 0 of 255 = 0%
R + G + B ~ 54%. #DFC300 is middle color (not dark and not light).
R + G + B =
223 + 195 + 0 = 418 (100%)
R 223 of 418 ~ 53.35%
G 195 of 418 ~ 46.65%
B 0 of 418 ~ 0%
#DFC300 color CMYK value is (0,13,100,13).
CMYK: (0,13,100,13) C0M13Y100K13 (0%,13%,100%,13%) (0.00/0.13/1.00/0.13)
DF | C3 | 00 | |
---|---|---|---|
RGB | 223 | 195 | 0 |
HSL | 52° | 100.00% | 43.73% |
HSB/HSV | 52° | 100.00% | 87.45% |
CMYK | 0.00% | 12.56% | 100.00% |
12.55% |
HEX | DF | C3 | 00 |
Decimal | 223 | 195 | 0 |
Binary | 11011111 | 11000011 | 0 |
Octal | 337 | 303 | 0 |
Examples of css and html codes for elements with #DFC300 color. Also use rgb(223,195,0) instead hex code.
.myTextColor { color: #DFC300; }
<p style="color:#DFC300">This sample text font color is #DFC300.</p>
This text font color is #DFC300.
.myBgColor { background-color: #DFC300; }
<div style="background-color:#DFC300">Inner text</div>
This div background color is #DFC300.
.myBorderColor { border: 1px solid #DFC300; }
<div style="border:3px solid #DFC300">Div</div>
This div border color is #DFC300.
.myOpacity80 { color: #DFC300; opacity: 0.8; }
<p style="color:#DFC300;opacity:0.8;">80%</p>
Text with #DFC300 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DFC300;}
<p style="text-shadow: 3px 3px 1px #DFC300">Text here.</p>
This text has shadow with #DFC300 color.
.textShadow {text-shadow: 3px 3px 1px #DFC300, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DFC300, 5px 5px 20px red">Text here.</p>
This text has shadow with #DFC300 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DFC300, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DFC300, Direction=45, Strength=4)">Text</p>
This text has shadow with #DFC300 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DFC300; -webkit-box-shadow: 1px 1px 3px 2px #DFC300; box-shadow: 1px 1px 3px 2px #DFC300; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DFC300; -webkit-box-shadow: 1px 1px 3px 2px #DFC300; box-shadow:1px 1px 3px 2px #DFC300;">
Div content here</div>
This text has color #DFC300 on black background.
This text has color #DFC300 on white background.
This text has black color on #DFC300 background.
This text has white color on #DFC300 background.