HEX: #F0E2BA
RGB: (240,226,186)
#F0E2BA contains red, green and blue colors in about the same proportion. Web safe color of #F0E2BA is #FFCCCC (or #FCC).
#F0E2BA color RGB value is (240,226,186).
RGB: (240,226,186) (94%,89%,73%)
R 240 of 255 = 94%
G 226 of 255 = 89%
B 186 of 255 = 73%
R + G + B ~ 85%. #F0E2BA is quite light color.
R + G + B =
240 + 226 + 186 = 652 (100%)
R 240 of 652 ~ 36.81%
G 226 of 652 ~ 34.66%
B 186 of 652 ~ 28.53%
#F0E2BA color CMYK value is (0,6,23,6).
CMYK: (0,6,23,6) C0M6Y23K6 (0%,6%,23%,6%) (0.00/0.06/0.23/0.06)
F0 | E2 | BA | |
---|---|---|---|
RGB | 240 | 226 | 186 |
HSL | 44° | 64.29% | 83.53% |
HSB/HSV | 44° | 22.50% | 94.12% |
CMYK | 0.00% | 5.83% | 22.50% |
5.88% |
HEX | F0 | E2 | BA |
Decimal | 240 | 226 | 186 |
Binary | 11110000 | 11100010 | 10111010 |
Octal | 360 | 342 | 272 |
Examples of css and html codes for elements with #F0E2BA color. Also use rgb(240,226,186) instead hex code.
.myTextColor { color: #F0E2BA; }
<p style="color:#F0E2BA">This sample text font color is #F0E2BA.</p>
This text font color is #F0E2BA.
.myBgColor { background-color: #F0E2BA; }
<div style="background-color:#F0E2BA">Inner text</div>
This div background color is #F0E2BA.
.myBorderColor { border: 1px solid #F0E2BA; }
<div style="border:3px solid #F0E2BA">Div</div>
This div border color is #F0E2BA.
.myOpacity80 { color: #F0E2BA; opacity: 0.8; }
<p style="color:#F0E2BA;opacity:0.8;">80%</p>
Text with #F0E2BA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0E2BA;}
<p style="text-shadow: 3px 3px 1px #F0E2BA">Text here.</p>
This text has shadow with #F0E2BA color.
.textShadow {text-shadow: 3px 3px 1px #F0E2BA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0E2BA, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0E2BA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0E2BA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0E2BA, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0E2BA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0E2BA; -webkit-box-shadow: 1px 1px 3px 2px #F0E2BA; box-shadow: 1px 1px 3px 2px #F0E2BA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0E2BA; -webkit-box-shadow: 1px 1px 3px 2px #F0E2BA; box-shadow:1px 1px 3px 2px #F0E2BA;">
Div content here</div>
This text has color #F0E2BA on black background.
This text has color #F0E2BA on white background.
This text has black color on #F0E2BA background.
This text has white color on #F0E2BA background.