HEX: #F4F002
RGB: (244,240,2)
#F4F002 contains mainly red and green colors. Web safe color of #F4F002 is #FFFF00 (or #FF0).
#F4F002 color RGB value is (244,240,2).
RGB: (244,240,2) (96%,94%,1%)
R 244 of 255 = 96%
G 240 of 255 = 94%
B 2 of 255 = 1%
R + G + B ~ 64%. #F4F002 is quite light color.
R + G + B =
244 + 240 + 2 = 486 (100%)
R 244 of 486 ~ 50.21%
G 240 of 486 ~ 49.38%
B 2 of 486 ~ 0.41%
#F4F002 color CMYK value is (0,2,99,4).
CMYK: (0,2,99,4) C0M2Y99K4 (0%,2%,99%,4%) (0.00/0.02/0.99/0.04)
F4 | F0 | 02 | |
---|---|---|---|
RGB | 244 | 240 | 2 |
HSL | 59° | 98.37% | 48.24% |
HSB/HSV | 59° | 99.18% | 95.69% |
CMYK | 0.00% | 1.64% | 99.18% |
4.31% |
HEX | F4 | F0 | 02 |
Decimal | 244 | 240 | 2 |
Binary | 11110100 | 11110000 | 10 |
Octal | 364 | 360 | 2 |
Examples of css and html codes for elements with #F4F002 color. Also use rgb(244,240,2) instead hex code.
.myTextColor { color: #F4F002; }
<p style="color:#F4F002">This sample text font color is #F4F002.</p>
This text font color is #F4F002.
.myBgColor { background-color: #F4F002; }
<div style="background-color:#F4F002">Inner text</div>
This div background color is #F4F002.
.myBorderColor { border: 1px solid #F4F002; }
<div style="border:3px solid #F4F002">Div</div>
This div border color is #F4F002.
.myOpacity80 { color: #F4F002; opacity: 0.8; }
<p style="color:#F4F002;opacity:0.8;">80%</p>
Text with #F4F002 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F4F002;}
<p style="text-shadow: 3px 3px 1px #F4F002">Text here.</p>
This text has shadow with #F4F002 color.
.textShadow {text-shadow: 3px 3px 1px #F4F002, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F4F002, 5px 5px 20px red">Text here.</p>
This text has shadow with #F4F002 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F4F002, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F4F002, Direction=45, Strength=4)">Text</p>
This text has shadow with #F4F002 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F4F002; -webkit-box-shadow: 1px 1px 3px 2px #F4F002; box-shadow: 1px 1px 3px 2px #F4F002; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F4F002; -webkit-box-shadow: 1px 1px 3px 2px #F4F002; box-shadow:1px 1px 3px 2px #F4F002;">
Div content here</div>
This text has color #F4F002 on black background.
This text has color #F4F002 on white background.
This text has black color on #F4F002 background.
This text has white color on #F4F002 background.