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