HEX: #F0E540
RGB: (240,229,64)
#F0E540 contains mainly red and green colors. Web safe color of #F0E540 is #FFCC33 (or #FC3).
#F0E540 color RGB value is (240,229,64).
RGB: (240,229,64) (94%,90%,25%)
R 240 of 255 = 94%
G 229 of 255 = 90%
B 64 of 255 = 25%
R + G + B ~ 70%. #F0E540 is quite light color.
R + G + B =
240 + 229 + 64 = 533 (100%)
R 240 of 533 ~ 45.03%
G 229 of 533 ~ 42.96%
B 64 of 533 ~ 12.01%
#F0E540 color CMYK value is (0,5,73,6).
CMYK: (0,5,73,6) C0M5Y73K6 (0%,5%,73%,6%) (0.00/0.05/0.73/0.06)
F0 | E5 | 40 | |
---|---|---|---|
RGB | 240 | 229 | 64 |
HSL | 56° | 85.44% | 59.61% |
HSB/HSV | 56° | 73.33% | 94.12% |
CMYK | 0.00% | 4.58% | 73.33% |
5.88% |
HEX | F0 | E5 | 40 |
Decimal | 240 | 229 | 64 |
Binary | 11110000 | 11100101 | 1000000 |
Octal | 360 | 345 | 100 |
Examples of css and html codes for elements with #F0E540 color. Also use rgb(240,229,64) instead hex code.
.myTextColor { color: #F0E540; }
<p style="color:#F0E540">This sample text font color is #F0E540.</p>
This text font color is #F0E540.
.myBgColor { background-color: #F0E540; }
<div style="background-color:#F0E540">Inner text</div>
This div background color is #F0E540.
.myBorderColor { border: 1px solid #F0E540; }
<div style="border:3px solid #F0E540">Div</div>
This div border color is #F0E540.
.myOpacity80 { color: #F0E540; opacity: 0.8; }
<p style="color:#F0E540;opacity:0.8;">80%</p>
Text with #F0E540 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0E540;}
<p style="text-shadow: 3px 3px 1px #F0E540">Text here.</p>
This text has shadow with #F0E540 color.
.textShadow {text-shadow: 3px 3px 1px #F0E540, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0E540, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0E540 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0E540, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0E540, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0E540 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0E540; -webkit-box-shadow: 1px 1px 3px 2px #F0E540; box-shadow: 1px 1px 3px 2px #F0E540; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0E540; -webkit-box-shadow: 1px 1px 3px 2px #F0E540; box-shadow:1px 1px 3px 2px #F0E540;">
Div content here</div>
This text has color #F0E540 on black background.
This text has color #F0E540 on white background.
This text has black color on #F0E540 background.
This text has white color on #F0E540 background.