HEX: #FEDC1A
RGB: (254,220,26)
#FEDC1A contains mainly red and green colors. Web safe color of #FEDC1A is #FFCC00 (or #FC0).
#FEDC1A color RGB value is (254,220,26).
RGB: (254,220,26) (100%,86%,10%)
R 254 of 255 = 100%
G 220 of 255 = 86%
B 26 of 255 = 10%
R + G + B ~ 65%. #FEDC1A is quite light color.
R + G + B =
254 + 220 + 26 = 500 (100%)
R 254 of 500 ~ 50.8%
G 220 of 500 ~ 44%
B 26 of 500 ~ 5.2%
#FEDC1A color CMYK value is (0,13,90,0).
CMYK: (0,13,90,0) C0M13Y90K0 (0%,13%,90%,0%) (0.00/0.13/0.90/0.00)
FE | DC | 1A | |
---|---|---|---|
RGB | 254 | 220 | 26 |
HSL | 51° | 99.13% | 54.90% |
HSB/HSV | 51° | 89.76% | 99.61% |
CMYK | 0.00% | 13.39% | 89.76% |
0.39% |
HEX | FE | DC | 1A |
Decimal | 254 | 220 | 26 |
Binary | 11111110 | 11011100 | 11010 |
Octal | 376 | 334 | 32 |
Examples of css and html codes for elements with #FEDC1A color. Also use rgb(254,220,26) instead hex code.
.myTextColor { color: #FEDC1A; }
<p style="color:#FEDC1A">This sample text font color is #FEDC1A.</p>
This text font color is #FEDC1A.
.myBgColor { background-color: #FEDC1A; }
<div style="background-color:#FEDC1A">Inner text</div>
This div background color is #FEDC1A.
.myBorderColor { border: 1px solid #FEDC1A; }
<div style="border:3px solid #FEDC1A">Div</div>
This div border color is #FEDC1A.
.myOpacity80 { color: #FEDC1A; opacity: 0.8; }
<p style="color:#FEDC1A;opacity:0.8;">80%</p>
Text with #FEDC1A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FEDC1A;}
<p style="text-shadow: 3px 3px 1px #FEDC1A">Text here.</p>
This text has shadow with #FEDC1A color.
.textShadow {text-shadow: 3px 3px 1px #FEDC1A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FEDC1A, 5px 5px 20px red">Text here.</p>
This text has shadow with #FEDC1A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FEDC1A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FEDC1A, Direction=45, Strength=4)">Text</p>
This text has shadow with #FEDC1A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FEDC1A; -webkit-box-shadow: 1px 1px 3px 2px #FEDC1A; box-shadow: 1px 1px 3px 2px #FEDC1A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FEDC1A; -webkit-box-shadow: 1px 1px 3px 2px #FEDC1A; box-shadow:1px 1px 3px 2px #FEDC1A;">
Div content here</div>
This text has color #FEDC1A on black background.
This text has color #FEDC1A on white background.
This text has black color on #FEDC1A background.
This text has white color on #FEDC1A background.