HEX: #F8E81B
RGB: (248,232,27)
#F8E81B contains mainly red and green colors. Web safe color of #F8E81B is #FFFF33 (or #FF3).
#F8E81B color RGB value is (248,232,27).
RGB: (248,232,27) (97%,91%,11%)
R 248 of 255 = 97%
G 232 of 255 = 91%
B 27 of 255 = 11%
R + G + B ~ 66%. #F8E81B is quite light color.
R + G + B =
248 + 232 + 27 = 507 (100%)
R 248 of 507 ~ 48.92%
G 232 of 507 ~ 45.76%
B 27 of 507 ~ 5.33%
#F8E81B color CMYK value is (0,6,89,3).
CMYK: (0,6,89,3) C0M6Y89K3 (0%,6%,89%,3%) (0.00/0.06/0.89/0.03)
F8 | E8 | 1B | |
---|---|---|---|
RGB | 248 | 232 | 27 |
HSL | 56° | 94.04% | 53.92% |
HSB/HSV | 56° | 89.11% | 97.25% |
CMYK | 0.00% | 6.45% | 89.11% |
2.75% |
HEX | F8 | E8 | 1B |
Decimal | 248 | 232 | 27 |
Binary | 11111000 | 11101000 | 11011 |
Octal | 370 | 350 | 33 |
Examples of css and html codes for elements with #F8E81B color. Also use rgb(248,232,27) instead hex code.
.myTextColor { color: #F8E81B; }
<p style="color:#F8E81B">This sample text font color is #F8E81B.</p>
This text font color is #F8E81B.
.myBgColor { background-color: #F8E81B; }
<div style="background-color:#F8E81B">Inner text</div>
This div background color is #F8E81B.
.myBorderColor { border: 1px solid #F8E81B; }
<div style="border:3px solid #F8E81B">Div</div>
This div border color is #F8E81B.
.myOpacity80 { color: #F8E81B; opacity: 0.8; }
<p style="color:#F8E81B;opacity:0.8;">80%</p>
Text with #F8E81B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8E81B;}
<p style="text-shadow: 3px 3px 1px #F8E81B">Text here.</p>
This text has shadow with #F8E81B color.
.textShadow {text-shadow: 3px 3px 1px #F8E81B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8E81B, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8E81B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8E81B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8E81B, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8E81B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8E81B; -webkit-box-shadow: 1px 1px 3px 2px #F8E81B; box-shadow: 1px 1px 3px 2px #F8E81B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8E81B; -webkit-box-shadow: 1px 1px 3px 2px #F8E81B; box-shadow:1px 1px 3px 2px #F8E81B;">
Div content here</div>
This text has color #F8E81B on black background.
This text has color #F8E81B on white background.
This text has black color on #F8E81B background.
This text has white color on #F8E81B background.