HEX: #FED40F
RGB: (254,212,15)
#FED40F contains mainly red and green colors. Web safe color of #FED40F is #FFCC00 (or #FC0).
#FED40F color RGB value is (254,212,15).
RGB: (254,212,15) (100%,83%,6%)
R 254 of 255 = 100%
G 212 of 255 = 83%
B 15 of 255 = 6%
R + G + B ~ 63%. #FED40F is quite light color.
R + G + B =
254 + 212 + 15 = 481 (100%)
R 254 of 481 ~ 52.81%
G 212 of 481 ~ 44.07%
B 15 of 481 ~ 3.12%
#FED40F color CMYK value is (0,17,94,0).
CMYK: (0,17,94,0) C0M17Y94K0 (0%,17%,94%,0%) (0.00/0.17/0.94/0.00)
FE | D4 | 0F | |
---|---|---|---|
RGB | 254 | 212 | 15 |
HSL | 49° | 99.17% | 52.75% |
HSB/HSV | 49° | 94.09% | 99.61% |
CMYK | 0.00% | 16.54% | 94.09% |
0.39% |
HEX | FE | D4 | 0F |
Decimal | 254 | 212 | 15 |
Binary | 11111110 | 11010100 | 1111 |
Octal | 376 | 324 | 17 |
Examples of css and html codes for elements with #FED40F color. Also use rgb(254,212,15) instead hex code.
.myTextColor { color: #FED40F; }
<p style="color:#FED40F">This sample text font color is #FED40F.</p>
This text font color is #FED40F.
.myBgColor { background-color: #FED40F; }
<div style="background-color:#FED40F">Inner text</div>
This div background color is #FED40F.
.myBorderColor { border: 1px solid #FED40F; }
<div style="border:3px solid #FED40F">Div</div>
This div border color is #FED40F.
.myOpacity80 { color: #FED40F; opacity: 0.8; }
<p style="color:#FED40F;opacity:0.8;">80%</p>
Text with #FED40F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FED40F;}
<p style="text-shadow: 3px 3px 1px #FED40F">Text here.</p>
This text has shadow with #FED40F color.
.textShadow {text-shadow: 3px 3px 1px #FED40F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FED40F, 5px 5px 20px red">Text here.</p>
This text has shadow with #FED40F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FED40F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FED40F, Direction=45, Strength=4)">Text</p>
This text has shadow with #FED40F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FED40F; -webkit-box-shadow: 1px 1px 3px 2px #FED40F; box-shadow: 1px 1px 3px 2px #FED40F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FED40F; -webkit-box-shadow: 1px 1px 3px 2px #FED40F; box-shadow:1px 1px 3px 2px #FED40F;">
Div content here</div>
This text has color #FED40F on black background.
This text has color #FED40F on white background.
This text has black color on #FED40F background.
This text has white color on #FED40F background.