HEX: #F0F5BD
RGB: (240,245,189)
#F0F5BD contains red, green and blue colors in about the same proportion. Web safe color of #F0F5BD is #FFFFCC (or #FFC).
#F0F5BD color RGB value is (240,245,189).
RGB: (240,245,189) (94%,96%,74%)
R 240 of 255 = 94%
G 245 of 255 = 96%
B 189 of 255 = 74%
R + G + B ~ 88%. #F0F5BD is light color.
R + G + B =
240 + 245 + 189 = 674 (100%)
R 240 of 674 ~ 35.61%
G 245 of 674 ~ 36.35%
B 189 of 674 ~ 28.04%
#F0F5BD color CMYK value is (2,0,23,4).
CMYK: (2,0,23,4) C2M0Y23K4 (2%,0%,23%,4%) (0.02/0.00/0.23/0.04)
F0 | F5 | BD | |
---|---|---|---|
RGB | 240 | 245 | 189 |
HSL | 65° | 73.68% | 85.10% |
HSB/HSV | 65° | 22.86% | 96.08% |
CMYK | 2.04% | 0.00% | 22.86% |
3.92% |
HEX | F0 | F5 | BD |
Decimal | 240 | 245 | 189 |
Binary | 11110000 | 11110101 | 10111101 |
Octal | 360 | 365 | 275 |
Examples of css and html codes for elements with #F0F5BD color. Also use rgb(240,245,189) instead hex code.
.myTextColor { color: #F0F5BD; }
<p style="color:#F0F5BD">This sample text font color is #F0F5BD.</p>
This text font color is #F0F5BD.
.myBgColor { background-color: #F0F5BD; }
<div style="background-color:#F0F5BD">Inner text</div>
This div background color is #F0F5BD.
.myBorderColor { border: 1px solid #F0F5BD; }
<div style="border:3px solid #F0F5BD">Div</div>
This div border color is #F0F5BD.
.myOpacity80 { color: #F0F5BD; opacity: 0.8; }
<p style="color:#F0F5BD;opacity:0.8;">80%</p>
Text with #F0F5BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0F5BD;}
<p style="text-shadow: 3px 3px 1px #F0F5BD">Text here.</p>
This text has shadow with #F0F5BD color.
.textShadow {text-shadow: 3px 3px 1px #F0F5BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0F5BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0F5BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F5BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0F5BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0F5BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0F5BD; -webkit-box-shadow: 1px 1px 3px 2px #F0F5BD; box-shadow: 1px 1px 3px 2px #F0F5BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0F5BD; -webkit-box-shadow: 1px 1px 3px 2px #F0F5BD; box-shadow:1px 1px 3px 2px #F0F5BD;">
Div content here</div>
This text has color #F0F5BD on black background.
This text has color #F0F5BD on white background.
This text has black color on #F0F5BD background.
This text has white color on #F0F5BD background.