HEX: #F0ECFB
RGB: (240,236,251)
#F0ECFB contains red, green and blue colors in about the same proportion. Web safe color of #F0ECFB is #FFFFFF (or #FFF).
#F0ECFB color RGB value is (240,236,251).
RGB: (240,236,251) (94%,93%,98%)
R 240 of 255 = 94%
G 236 of 255 = 93%
B 251 of 255 = 98%
R + G + B ~ 95%. #F0ECFB is light color.
R + G + B =
240 + 236 + 251 = 727 (100%)
R 240 of 727 ~ 33.01%
G 236 of 727 ~ 32.46%
B 251 of 727 ~ 34.53%
#F0ECFB color CMYK value is (4,6,0,2).
CMYK: (4,6,0,2) C4M6Y0K2 (4%,6%,0%,2%) (0.04/0.06/0.00/0.02)
F0 | EC | FB | |
---|---|---|---|
RGB | 240 | 236 | 251 |
HSL | 256° | 65.22% | 95.49% |
HSB/HSV | 256° | 5.98% | 98.43% |
CMYK | 4.38% | 5.98% | 0.00% |
1.57% |
HEX | F0 | EC | FB |
Decimal | 240 | 236 | 251 |
Binary | 11110000 | 11101100 | 11111011 |
Octal | 360 | 354 | 373 |
Examples of css and html codes for elements with #F0ECFB color. Also use rgb(240,236,251) instead hex code.
.myTextColor { color: #F0ECFB; }
<p style="color:#F0ECFB">This sample text font color is #F0ECFB.</p>
This text font color is #F0ECFB.
.myBgColor { background-color: #F0ECFB; }
<div style="background-color:#F0ECFB">Inner text</div>
This div background color is #F0ECFB.
.myBorderColor { border: 1px solid #F0ECFB; }
<div style="border:3px solid #F0ECFB">Div</div>
This div border color is #F0ECFB.
.myOpacity80 { color: #F0ECFB; opacity: 0.8; }
<p style="color:#F0ECFB;opacity:0.8;">80%</p>
Text with #F0ECFB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0ECFB;}
<p style="text-shadow: 3px 3px 1px #F0ECFB">Text here.</p>
This text has shadow with #F0ECFB color.
.textShadow {text-shadow: 3px 3px 1px #F0ECFB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0ECFB, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0ECFB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0ECFB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0ECFB, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0ECFB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0ECFB; -webkit-box-shadow: 1px 1px 3px 2px #F0ECFB; box-shadow: 1px 1px 3px 2px #F0ECFB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0ECFB; -webkit-box-shadow: 1px 1px 3px 2px #F0ECFB; box-shadow:1px 1px 3px 2px #F0ECFB;">
Div content here</div>
This text has color #F0ECFB on black background.
This text has color #F0ECFB on white background.
This text has black color on #F0ECFB background.
This text has white color on #F0ECFB background.