HEX: #F8E57A
RGB: (248,229,122)
#F8E57A contains mainly red and green colors. Web safe color of #F8E57A is #FFCC66 (or #FC6).
#F8E57A color RGB value is (248,229,122).
RGB: (248,229,122) (97%,90%,48%)
R 248 of 255 = 97%
G 229 of 255 = 90%
B 122 of 255 = 48%
R + G + B ~ 78%. #F8E57A is quite light color.
R + G + B =
248 + 229 + 122 = 599 (100%)
R 248 of 599 ~ 41.4%
G 229 of 599 ~ 38.23%
B 122 of 599 ~ 20.37%
#F8E57A color CMYK value is (0,8,51,3).
CMYK: (0,8,51,3) C0M8Y51K3 (0%,8%,51%,3%) (0.00/0.08/0.51/0.03)
F8 | E5 | 7A | |
---|---|---|---|
RGB | 248 | 229 | 122 |
HSL | 51° | 90.00% | 72.55% |
HSB/HSV | 51° | 50.81% | 97.25% |
CMYK | 0.00% | 7.66% | 50.81% |
2.75% |
HEX | F8 | E5 | 7A |
Decimal | 248 | 229 | 122 |
Binary | 11111000 | 11100101 | 1111010 |
Octal | 370 | 345 | 172 |
Examples of css and html codes for elements with #F8E57A color. Also use rgb(248,229,122) instead hex code.
.myTextColor { color: #F8E57A; }
<p style="color:#F8E57A">This sample text font color is #F8E57A.</p>
This text font color is #F8E57A.
.myBgColor { background-color: #F8E57A; }
<div style="background-color:#F8E57A">Inner text</div>
This div background color is #F8E57A.
.myBorderColor { border: 1px solid #F8E57A; }
<div style="border:3px solid #F8E57A">Div</div>
This div border color is #F8E57A.
.myOpacity80 { color: #F8E57A; opacity: 0.8; }
<p style="color:#F8E57A;opacity:0.8;">80%</p>
Text with #F8E57A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8E57A;}
<p style="text-shadow: 3px 3px 1px #F8E57A">Text here.</p>
This text has shadow with #F8E57A color.
.textShadow {text-shadow: 3px 3px 1px #F8E57A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8E57A, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8E57A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8E57A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8E57A, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8E57A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8E57A; -webkit-box-shadow: 1px 1px 3px 2px #F8E57A; box-shadow: 1px 1px 3px 2px #F8E57A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8E57A; -webkit-box-shadow: 1px 1px 3px 2px #F8E57A; box-shadow:1px 1px 3px 2px #F8E57A;">
Div content here</div>
This text has color #F8E57A on black background.
This text has color #F8E57A on white background.
This text has black color on #F8E57A background.
This text has white color on #F8E57A background.