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