HEX: #F9F66C
RGB: (249,246,108)
#F9F66C contains mainly red and green colors. Web safe color of #F9F66C is #FFFF66 (or #FF6).
#F9F66C color RGB value is (249,246,108).
RGB: (249,246,108) (98%,96%,42%)
R 249 of 255 = 98%
G 246 of 255 = 96%
B 108 of 255 = 42%
R + G + B ~ 79%. #F9F66C is quite light color.
R + G + B =
249 + 246 + 108 = 603 (100%)
R 249 of 603 ~ 41.29%
G 246 of 603 ~ 40.8%
B 108 of 603 ~ 17.91%
#F9F66C color CMYK value is (0,1,57,2).
CMYK: (0,1,57,2) C0M1Y57K2 (0%,1%,57%,2%) (0.00/0.01/0.57/0.02)
F9 | F6 | 6C | |
---|---|---|---|
RGB | 249 | 246 | 108 |
HSL | 59° | 92.16% | 70.00% |
HSB/HSV | 59° | 56.63% | 97.65% |
CMYK | 0.00% | 1.20% | 56.63% |
2.35% |
HEX | F9 | F6 | 6C |
Decimal | 249 | 246 | 108 |
Binary | 11111001 | 11110110 | 1101100 |
Octal | 371 | 366 | 154 |
Examples of css and html codes for elements with #F9F66C color. Also use rgb(249,246,108) instead hex code.
.myTextColor { color: #F9F66C; }
<p style="color:#F9F66C">This sample text font color is #F9F66C.</p>
This text font color is #F9F66C.
.myBgColor { background-color: #F9F66C; }
<div style="background-color:#F9F66C">Inner text</div>
This div background color is #F9F66C.
.myBorderColor { border: 1px solid #F9F66C; }
<div style="border:3px solid #F9F66C">Div</div>
This div border color is #F9F66C.
.myOpacity80 { color: #F9F66C; opacity: 0.8; }
<p style="color:#F9F66C;opacity:0.8;">80%</p>
Text with #F9F66C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F9F66C;}
<p style="text-shadow: 3px 3px 1px #F9F66C">Text here.</p>
This text has shadow with #F9F66C color.
.textShadow {text-shadow: 3px 3px 1px #F9F66C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F9F66C, 5px 5px 20px red">Text here.</p>
This text has shadow with #F9F66C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F9F66C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F9F66C, Direction=45, Strength=4)">Text</p>
This text has shadow with #F9F66C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F9F66C; -webkit-box-shadow: 1px 1px 3px 2px #F9F66C; box-shadow: 1px 1px 3px 2px #F9F66C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F9F66C; -webkit-box-shadow: 1px 1px 3px 2px #F9F66C; box-shadow:1px 1px 3px 2px #F9F66C;">
Div content here</div>
This text has color #F9F66C on black background.
This text has color #F9F66C on white background.
This text has black color on #F9F66C background.
This text has white color on #F9F66C background.