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