HEX: #F2F9B8
RGB: (242,249,184)
#F2F9B8 contains mainly red and green colors. Web safe color of #F2F9B8 is #FFFFCC (or #FFC).
#F2F9B8 color RGB value is (242,249,184).
RGB: (242,249,184) (95%,98%,72%)
R 242 of 255 = 95%
G 249 of 255 = 98%
B 184 of 255 = 72%
R + G + B ~ 88%. #F2F9B8 is light color.
R + G + B =
242 + 249 + 184 = 675 (100%)
R 242 of 675 ~ 35.85%
G 249 of 675 ~ 36.89%
B 184 of 675 ~ 27.26%
#F2F9B8 color CMYK value is (3,0,26,2).
CMYK: (3,0,26,2) C3M0Y26K2 (3%,0%,26%,2%) (0.03/0.00/0.26/0.02)
F2 | F9 | B8 | |
---|---|---|---|
RGB | 242 | 249 | 184 |
HSL | 66° | 84.42% | 84.90% |
HSB/HSV | 66° | 26.10% | 97.65% |
CMYK | 2.81% | 0.00% | 26.10% |
2.35% |
HEX | F2 | F9 | B8 |
Decimal | 242 | 249 | 184 |
Binary | 11110010 | 11111001 | 10111000 |
Octal | 362 | 371 | 270 |
Examples of css and html codes for elements with #F2F9B8 color. Also use rgb(242,249,184) instead hex code.
.myTextColor { color: #F2F9B8; }
<p style="color:#F2F9B8">This sample text font color is #F2F9B8.</p>
This text font color is #F2F9B8.
.myBgColor { background-color: #F2F9B8; }
<div style="background-color:#F2F9B8">Inner text</div>
This div background color is #F2F9B8.
.myBorderColor { border: 1px solid #F2F9B8; }
<div style="border:3px solid #F2F9B8">Div</div>
This div border color is #F2F9B8.
.myOpacity80 { color: #F2F9B8; opacity: 0.8; }
<p style="color:#F2F9B8;opacity:0.8;">80%</p>
Text with #F2F9B8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2F9B8;}
<p style="text-shadow: 3px 3px 1px #F2F9B8">Text here.</p>
This text has shadow with #F2F9B8 color.
.textShadow {text-shadow: 3px 3px 1px #F2F9B8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2F9B8, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2F9B8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2F9B8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2F9B8, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2F9B8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2F9B8; -webkit-box-shadow: 1px 1px 3px 2px #F2F9B8; box-shadow: 1px 1px 3px 2px #F2F9B8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2F9B8; -webkit-box-shadow: 1px 1px 3px 2px #F2F9B8; box-shadow:1px 1px 3px 2px #F2F9B8;">
Div content here</div>
This text has color #F2F9B8 on black background.
This text has color #F2F9B8 on white background.
This text has black color on #F2F9B8 background.
This text has white color on #F2F9B8 background.