HEX: #FFF000
RGB: (255,240,0)
#FFF000 contains only red and green colors. Web safe color of #FFF000 is #FFFF00 (or #FF0).
#FFF000 color RGB value is (255,240,0).
RGB: (255,240,0) (100%,94%,0%)
R 255 of 255 = 100%
G 240 of 255 = 94%
B 0 of 255 = 0%
R + G + B ~ 65%. #FFF000 is quite light color.
R + G + B =
255 + 240 + 0 = 495 (100%)
R 255 of 495 ~ 51.52%
G 240 of 495 ~ 48.48%
B 0 of 495 ~ 0%
#FFF000 color CMYK value is (0,6,100,0).
CMYK: (0,6,100,0) C0M6Y100K0 (0%,6%,100%,0%) (0.00/0.06/1.00/0.00)
FF | F0 | 00 | |
---|---|---|---|
RGB | 255 | 240 | 0 |
HSL | 56° | 100.00% | 50.00% |
HSB/HSV | 56° | 100.00% | 100.00% |
CMYK | 0.00% | 5.88% | 100.00% |
0.00% |
HEX | FF | F0 | 00 |
Decimal | 255 | 240 | 0 |
Binary | 11111111 | 11110000 | 0 |
Octal | 377 | 360 | 0 |
Examples of css and html codes for elements with #FFF000 color. Also use rgb(255,240,0) instead hex code.
.myTextColor { color: #FFF000; }
<p style="color:#FFF000">This sample text font color is #FFF000.</p>
This text font color is #FFF000.
.myBgColor { background-color: #FFF000; }
<div style="background-color:#FFF000">Inner text</div>
This div background color is #FFF000.
.myBorderColor { border: 1px solid #FFF000; }
<div style="border:3px solid #FFF000">Div</div>
This div border color is #FFF000.
.myOpacity80 { color: #FFF000; opacity: 0.8; }
<p style="color:#FFF000;opacity:0.8;">80%</p>
Text with #FFF000 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FFF000;}
<p style="text-shadow: 3px 3px 1px #FFF000">Text here.</p>
This text has shadow with #FFF000 color.
.textShadow {text-shadow: 3px 3px 1px #FFF000, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FFF000, 5px 5px 20px red">Text here.</p>
This text has shadow with #FFF000 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FFF000, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FFF000, Direction=45, Strength=4)">Text</p>
This text has shadow with #FFF000 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FFF000; -webkit-box-shadow: 1px 1px 3px 2px #FFF000; box-shadow: 1px 1px 3px 2px #FFF000; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FFF000; -webkit-box-shadow: 1px 1px 3px 2px #FFF000; box-shadow:1px 1px 3px 2px #FFF000;">
Div content here</div>
This text has color #FFF000 on black background.
This text has color #FFF000 on white background.
This text has black color on #FFF000 background.
This text has white color on #FFF000 background.