HEX: #FCE40D
RGB: (252,228,13)
#FCE40D contains mainly red and green colors. Web safe color of #FCE40D is #FFCC00 (or #FC0).
#FCE40D color RGB value is (252,228,13).
RGB: (252,228,13) (99%,89%,5%)
R 252 of 255 = 99%
G 228 of 255 = 89%
B 13 of 255 = 5%
R + G + B ~ 64%. #FCE40D is quite light color.
R + G + B =
252 + 228 + 13 = 493 (100%)
R 252 of 493 ~ 51.12%
G 228 of 493 ~ 46.25%
B 13 of 493 ~ 2.64%
#FCE40D color CMYK value is (0,10,95,1).
CMYK: (0,10,95,1) C0M10Y95K1 (0%,10%,95%,1%) (0.00/0.10/0.95/0.01)
FC | E4 | 0D | |
---|---|---|---|
RGB | 252 | 228 | 13 |
HSL | 54° | 97.55% | 51.96% |
HSB/HSV | 54° | 94.84% | 98.82% |
CMYK | 0.00% | 9.52% | 94.84% |
1.18% |
HEX | FC | E4 | 0D |
Decimal | 252 | 228 | 13 |
Binary | 11111100 | 11100100 | 1101 |
Octal | 374 | 344 | 15 |
Examples of css and html codes for elements with #FCE40D color. Also use rgb(252,228,13) instead hex code.
.myTextColor { color: #FCE40D; }
<p style="color:#FCE40D">This sample text font color is #FCE40D.</p>
This text font color is #FCE40D.
.myBgColor { background-color: #FCE40D; }
<div style="background-color:#FCE40D">Inner text</div>
This div background color is #FCE40D.
.myBorderColor { border: 1px solid #FCE40D; }
<div style="border:3px solid #FCE40D">Div</div>
This div border color is #FCE40D.
.myOpacity80 { color: #FCE40D; opacity: 0.8; }
<p style="color:#FCE40D;opacity:0.8;">80%</p>
Text with #FCE40D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FCE40D;}
<p style="text-shadow: 3px 3px 1px #FCE40D">Text here.</p>
This text has shadow with #FCE40D color.
.textShadow {text-shadow: 3px 3px 1px #FCE40D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FCE40D, 5px 5px 20px red">Text here.</p>
This text has shadow with #FCE40D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FCE40D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FCE40D, Direction=45, Strength=4)">Text</p>
This text has shadow with #FCE40D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FCE40D; -webkit-box-shadow: 1px 1px 3px 2px #FCE40D; box-shadow: 1px 1px 3px 2px #FCE40D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FCE40D; -webkit-box-shadow: 1px 1px 3px 2px #FCE40D; box-shadow:1px 1px 3px 2px #FCE40D;">
Div content here</div>
This text has color #FCE40D on black background.
This text has color #FCE40D on white background.
This text has black color on #FCE40D background.
This text has white color on #FCE40D background.