HEX: #F2F516
RGB: (242,245,22)
#F2F516 contains mainly red and green colors. Web safe color of #F2F516 is #FFFF00 (or #FF0).
#F2F516 color RGB value is (242,245,22).
RGB: (242,245,22) (95%,96%,9%)
R 242 of 255 = 95%
G 245 of 255 = 96%
B 22 of 255 = 9%
R + G + B ~ 67%. #F2F516 is quite light color.
R + G + B =
242 + 245 + 22 = 509 (100%)
R 242 of 509 ~ 47.54%
G 245 of 509 ~ 48.13%
B 22 of 509 ~ 4.32%
#F2F516 color CMYK value is (1,0,91,4).
CMYK: (1,0,91,4) C1M0Y91K4 (1%,0%,91%,4%) (0.01/0.00/0.91/0.04)
F2 | F5 | 16 | |
---|---|---|---|
RGB | 242 | 245 | 22 |
HSL | 61° | 91.77% | 52.35% |
HSB/HSV | 61° | 91.02% | 96.08% |
CMYK | 1.22% | 0.00% | 91.02% |
3.92% |
HEX | F2 | F5 | 16 |
Decimal | 242 | 245 | 22 |
Binary | 11110010 | 11110101 | 10110 |
Octal | 362 | 365 | 26 |
Examples of css and html codes for elements with #F2F516 color. Also use rgb(242,245,22) instead hex code.
.myTextColor { color: #F2F516; }
<p style="color:#F2F516">This sample text font color is #F2F516.</p>
This text font color is #F2F516.
.myBgColor { background-color: #F2F516; }
<div style="background-color:#F2F516">Inner text</div>
This div background color is #F2F516.
.myBorderColor { border: 1px solid #F2F516; }
<div style="border:3px solid #F2F516">Div</div>
This div border color is #F2F516.
.myOpacity80 { color: #F2F516; opacity: 0.8; }
<p style="color:#F2F516;opacity:0.8;">80%</p>
Text with #F2F516 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2F516;}
<p style="text-shadow: 3px 3px 1px #F2F516">Text here.</p>
This text has shadow with #F2F516 color.
.textShadow {text-shadow: 3px 3px 1px #F2F516, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2F516, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2F516 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2F516, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2F516, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2F516 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2F516; -webkit-box-shadow: 1px 1px 3px 2px #F2F516; box-shadow: 1px 1px 3px 2px #F2F516; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2F516; -webkit-box-shadow: 1px 1px 3px 2px #F2F516; box-shadow:1px 1px 3px 2px #F2F516;">
Div content here</div>
This text has color #F2F516 on black background.
This text has color #F2F516 on white background.
This text has black color on #F2F516 background.
This text has white color on #F2F516 background.