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