HEX: #F0C400
RGB: (240,196,0)
#F0C400 contains only red and green colors. Web safe color of #F0C400 is #FFCC00 (or #FC0).
#F0C400 color RGB value is (240,196,0).
RGB: (240,196,0) (94%,77%,0%)
R 240 of 255 = 94%
G 196 of 255 = 77%
B 0 of 255 = 0%
R + G + B ~ 57%. #F0C400 is middle color (not dark and not light).
R + G + B =
240 + 196 + 0 = 436 (100%)
R 240 of 436 ~ 55.05%
G 196 of 436 ~ 44.95%
B 0 of 436 ~ 0%
#F0C400 color CMYK value is (0,18,100,6).
CMYK: (0,18,100,6) C0M18Y100K6 (0%,18%,100%,6%) (0.00/0.18/1.00/0.06)
F0 | C4 | 00 | |
---|---|---|---|
RGB | 240 | 196 | 0 |
HSL | 49° | 100.00% | 47.06% |
HSB/HSV | 49° | 100.00% | 94.12% |
CMYK | 0.00% | 18.33% | 100.00% |
5.88% |
HEX | F0 | C4 | 00 |
Decimal | 240 | 196 | 0 |
Binary | 11110000 | 11000100 | 0 |
Octal | 360 | 304 | 0 |
Examples of css and html codes for elements with #F0C400 color. Also use rgb(240,196,0) instead hex code.
.myTextColor { color: #F0C400; }
<p style="color:#F0C400">This sample text font color is #F0C400.</p>
This text font color is #F0C400.
.myBgColor { background-color: #F0C400; }
<div style="background-color:#F0C400">Inner text</div>
This div background color is #F0C400.
.myBorderColor { border: 1px solid #F0C400; }
<div style="border:3px solid #F0C400">Div</div>
This div border color is #F0C400.
.myOpacity80 { color: #F0C400; opacity: 0.8; }
<p style="color:#F0C400;opacity:0.8;">80%</p>
Text with #F0C400 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0C400;}
<p style="text-shadow: 3px 3px 1px #F0C400">Text here.</p>
This text has shadow with #F0C400 color.
.textShadow {text-shadow: 3px 3px 1px #F0C400, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0C400, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0C400 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0C400, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0C400, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0C400 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0C400; -webkit-box-shadow: 1px 1px 3px 2px #F0C400; box-shadow: 1px 1px 3px 2px #F0C400; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0C400; -webkit-box-shadow: 1px 1px 3px 2px #F0C400; box-shadow:1px 1px 3px 2px #F0C400;">
Div content here</div>
This text has color #F0C400 on black background.
This text has color #F0C400 on white background.
This text has black color on #F0C400 background.
This text has white color on #F0C400 background.