HEX: #F0FAFA
RGB: (240,250,250)
#F0FAFA contains red, green and blue colors in about the same proportion. Web safe color of #F0FAFA is #FFFFFF (or #FFF).
#F0FAFA color RGB value is (240,250,250).
RGB: (240,250,250) (94%,98%,98%)
R 240 of 255 = 94%
G 250 of 255 = 98%
B 250 of 255 = 98%
R + G + B ~ 97%. #F0FAFA is light color.
R + G + B =
240 + 250 + 250 = 740 (100%)
R 240 of 740 ~ 32.43%
G 250 of 740 ~ 33.78%
B 250 of 740 ~ 33.78%
#F0FAFA color CMYK value is (4,0,0,2).
CMYK: (4,0,0,2) C4M0Y0K2 (4%,0%,0%,2%) (0.04/0.00/0.00/0.02)
F0 | FA | FA | |
---|---|---|---|
RGB | 240 | 250 | 250 |
HSL | 180° | 50.00% | 96.08% |
HSB/HSV | 180° | 4.00% | 98.04% |
CMYK | 4.00% | 0.00% | 0.00% |
1.96% |
HEX | F0 | FA | FA |
Decimal | 240 | 250 | 250 |
Binary | 11110000 | 11111010 | 11111010 |
Octal | 360 | 372 | 372 |
Examples of css and html codes for elements with #F0FAFA color. Also use rgb(240,250,250) instead hex code.
.myTextColor { color: #F0FAFA; }
<p style="color:#F0FAFA">This sample text font color is #F0FAFA.</p>
This text font color is #F0FAFA.
.myBgColor { background-color: #F0FAFA; }
<div style="background-color:#F0FAFA">Inner text</div>
This div background color is #F0FAFA.
.myBorderColor { border: 1px solid #F0FAFA; }
<div style="border:3px solid #F0FAFA">Div</div>
This div border color is #F0FAFA.
.myOpacity80 { color: #F0FAFA; opacity: 0.8; }
<p style="color:#F0FAFA;opacity:0.8;">80%</p>
Text with #F0FAFA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0FAFA;}
<p style="text-shadow: 3px 3px 1px #F0FAFA">Text here.</p>
This text has shadow with #F0FAFA color.
.textShadow {text-shadow: 3px 3px 1px #F0FAFA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0FAFA, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0FAFA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0FAFA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0FAFA, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0FAFA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0FAFA; -webkit-box-shadow: 1px 1px 3px 2px #F0FAFA; box-shadow: 1px 1px 3px 2px #F0FAFA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0FAFA; -webkit-box-shadow: 1px 1px 3px 2px #F0FAFA; box-shadow:1px 1px 3px 2px #F0FAFA;">
Div content here</div>
This text has color #F0FAFA on black background.
This text has color #F0FAFA on white background.
This text has black color on #F0FAFA background.
This text has white color on #F0FAFA background.