HEX: #F8E512
RGB: (248,229,18)
#F8E512 contains mainly red and green colors. Web safe color of #F8E512 is #FFCC00 (or #FC0).
#F8E512 color RGB value is (248,229,18).
RGB: (248,229,18) (97%,90%,7%)
R 248 of 255 = 97%
G 229 of 255 = 90%
B 18 of 255 = 7%
R + G + B ~ 65%. #F8E512 is quite light color.
R + G + B =
248 + 229 + 18 = 495 (100%)
R 248 of 495 ~ 50.1%
G 229 of 495 ~ 46.26%
B 18 of 495 ~ 3.64%
#F8E512 color CMYK value is (0,8,93,3).
CMYK: (0,8,93,3) C0M8Y93K3 (0%,8%,93%,3%) (0.00/0.08/0.93/0.03)
F8 | E5 | 12 | |
---|---|---|---|
RGB | 248 | 229 | 18 |
HSL | 55° | 94.26% | 52.16% |
HSB/HSV | 55° | 92.74% | 97.25% |
CMYK | 0.00% | 7.66% | 92.74% |
2.75% |
HEX | F8 | E5 | 12 |
Decimal | 248 | 229 | 18 |
Binary | 11111000 | 11100101 | 10010 |
Octal | 370 | 345 | 22 |
Examples of css and html codes for elements with #F8E512 color. Also use rgb(248,229,18) instead hex code.
.myTextColor { color: #F8E512; }
<p style="color:#F8E512">This sample text font color is #F8E512.</p>
This text font color is #F8E512.
.myBgColor { background-color: #F8E512; }
<div style="background-color:#F8E512">Inner text</div>
This div background color is #F8E512.
.myBorderColor { border: 1px solid #F8E512; }
<div style="border:3px solid #F8E512">Div</div>
This div border color is #F8E512.
.myOpacity80 { color: #F8E512; opacity: 0.8; }
<p style="color:#F8E512;opacity:0.8;">80%</p>
Text with #F8E512 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8E512;}
<p style="text-shadow: 3px 3px 1px #F8E512">Text here.</p>
This text has shadow with #F8E512 color.
.textShadow {text-shadow: 3px 3px 1px #F8E512, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8E512, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8E512 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8E512, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8E512, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8E512 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8E512; -webkit-box-shadow: 1px 1px 3px 2px #F8E512; box-shadow: 1px 1px 3px 2px #F8E512; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8E512; -webkit-box-shadow: 1px 1px 3px 2px #F8E512; box-shadow:1px 1px 3px 2px #F8E512;">
Div content here</div>
This text has color #F8E512 on black background.
This text has color #F8E512 on white background.
This text has black color on #F8E512 background.
This text has white color on #F8E512 background.