HEX: #F0F6CB
RGB: (240,246,203)
#F0F6CB contains red, green and blue colors in about the same proportion. Web safe color of #F0F6CB is #FFFFCC (or #FFC).
#F0F6CB color RGB value is (240,246,203).
RGB: (240,246,203) (94%,96%,80%)
R 240 of 255 = 94%
G 246 of 255 = 96%
B 203 of 255 = 80%
R + G + B ~ 90%. #F0F6CB is light color.
R + G + B =
240 + 246 + 203 = 689 (100%)
R 240 of 689 ~ 34.83%
G 246 of 689 ~ 35.7%
B 203 of 689 ~ 29.46%
#F0F6CB color CMYK value is (2,0,17,4).
CMYK: (2,0,17,4) C2M0Y17K4 (2%,0%,17%,4%) (0.02/0.00/0.17/0.04)
F0 | F6 | CB | |
---|---|---|---|
RGB | 240 | 246 | 203 |
HSL | 68° | 70.49% | 88.04% |
HSB/HSV | 68° | 17.48% | 96.47% |
CMYK | 2.44% | 0.00% | 17.48% |
3.53% |
HEX | F0 | F6 | CB |
Decimal | 240 | 246 | 203 |
Binary | 11110000 | 11110110 | 11001011 |
Octal | 360 | 366 | 313 |
Examples of css and html codes for elements with #F0F6CB color. Also use rgb(240,246,203) instead hex code.
.myTextColor { color: #F0F6CB; }
<p style="color:#F0F6CB">This sample text font color is #F0F6CB.</p>
This text font color is #F0F6CB.
.myBgColor { background-color: #F0F6CB; }
<div style="background-color:#F0F6CB">Inner text</div>
This div background color is #F0F6CB.
.myBorderColor { border: 1px solid #F0F6CB; }
<div style="border:3px solid #F0F6CB">Div</div>
This div border color is #F0F6CB.
.myOpacity80 { color: #F0F6CB; opacity: 0.8; }
<p style="color:#F0F6CB;opacity:0.8;">80%</p>
Text with #F0F6CB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0F6CB;}
<p style="text-shadow: 3px 3px 1px #F0F6CB">Text here.</p>
This text has shadow with #F0F6CB color.
.textShadow {text-shadow: 3px 3px 1px #F0F6CB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0F6CB, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0F6CB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F6CB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0F6CB, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0F6CB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0F6CB; -webkit-box-shadow: 1px 1px 3px 2px #F0F6CB; box-shadow: 1px 1px 3px 2px #F0F6CB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0F6CB; -webkit-box-shadow: 1px 1px 3px 2px #F0F6CB; box-shadow:1px 1px 3px 2px #F0F6CB;">
Div content here</div>
This text has color #F0F6CB on black background.
This text has color #F0F6CB on white background.
This text has black color on #F0F6CB background.
This text has white color on #F0F6CB background.