HEX: #F0E1AF
RGB: (240,225,175)
#F0E1AF contains mainly red and green colors. Web safe color of #F0E1AF is #FFCC99 (or #FC9).
#F0E1AF color RGB value is (240,225,175).
RGB: (240,225,175) (94%,88%,69%)
R 240 of 255 = 94%
G 225 of 255 = 88%
B 175 of 255 = 69%
R + G + B ~ 84%. #F0E1AF is quite light color.
R + G + B =
240 + 225 + 175 = 640 (100%)
R 240 of 640 ~ 37.5%
G 225 of 640 ~ 35.16%
B 175 of 640 ~ 27.34%
#F0E1AF color CMYK value is (0,6,27,6).
CMYK: (0,6,27,6) C0M6Y27K6 (0%,6%,27%,6%) (0.00/0.06/0.27/0.06)
F0 | E1 | AF | |
---|---|---|---|
RGB | 240 | 225 | 175 |
HSL | 46° | 68.42% | 81.37% |
HSB/HSV | 46° | 27.08% | 94.12% |
CMYK | 0.00% | 6.25% | 27.08% |
5.88% |
HEX | F0 | E1 | AF |
Decimal | 240 | 225 | 175 |
Binary | 11110000 | 11100001 | 10101111 |
Octal | 360 | 341 | 257 |
Examples of css and html codes for elements with #F0E1AF color. Also use rgb(240,225,175) instead hex code.
.myTextColor { color: #F0E1AF; }
<p style="color:#F0E1AF">This sample text font color is #F0E1AF.</p>
This text font color is #F0E1AF.
.myBgColor { background-color: #F0E1AF; }
<div style="background-color:#F0E1AF">Inner text</div>
This div background color is #F0E1AF.
.myBorderColor { border: 1px solid #F0E1AF; }
<div style="border:3px solid #F0E1AF">Div</div>
This div border color is #F0E1AF.
.myOpacity80 { color: #F0E1AF; opacity: 0.8; }
<p style="color:#F0E1AF;opacity:0.8;">80%</p>
Text with #F0E1AF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0E1AF;}
<p style="text-shadow: 3px 3px 1px #F0E1AF">Text here.</p>
This text has shadow with #F0E1AF color.
.textShadow {text-shadow: 3px 3px 1px #F0E1AF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0E1AF, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0E1AF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0E1AF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0E1AF, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0E1AF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0E1AF; -webkit-box-shadow: 1px 1px 3px 2px #F0E1AF; box-shadow: 1px 1px 3px 2px #F0E1AF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0E1AF; -webkit-box-shadow: 1px 1px 3px 2px #F0E1AF; box-shadow:1px 1px 3px 2px #F0E1AF;">
Div content here</div>
This text has color #F0E1AF on black background.
This text has color #F0E1AF on white background.
This text has black color on #F0E1AF background.
This text has white color on #F0E1AF background.