HEX: #F0F6AE
RGB: (240,246,174)
#F0F6AE contains mainly red and green colors. Web safe color of #F0F6AE is #FFFF99 (or #FF9).
#F0F6AE color RGB value is (240,246,174).
RGB: (240,246,174) (94%,96%,68%)
R 240 of 255 = 94%
G 246 of 255 = 96%
B 174 of 255 = 68%
R + G + B ~ 86%. #F0F6AE is light color.
R + G + B =
240 + 246 + 174 = 660 (100%)
R 240 of 660 ~ 36.36%
G 246 of 660 ~ 37.27%
B 174 of 660 ~ 26.36%
#F0F6AE color CMYK value is (2,0,29,4).
CMYK: (2,0,29,4) C2M0Y29K4 (2%,0%,29%,4%) (0.02/0.00/0.29/0.04)
F0 | F6 | AE | |
---|---|---|---|
RGB | 240 | 246 | 174 |
HSL | 65° | 80.00% | 82.35% |
HSB/HSV | 65° | 29.27% | 96.47% |
CMYK | 2.44% | 0.00% | 29.27% |
3.53% |
HEX | F0 | F6 | AE |
Decimal | 240 | 246 | 174 |
Binary | 11110000 | 11110110 | 10101110 |
Octal | 360 | 366 | 256 |
Examples of css and html codes for elements with #F0F6AE color. Also use rgb(240,246,174) instead hex code.
.myTextColor { color: #F0F6AE; }
<p style="color:#F0F6AE">This sample text font color is #F0F6AE.</p>
This text font color is #F0F6AE.
.myBgColor { background-color: #F0F6AE; }
<div style="background-color:#F0F6AE">Inner text</div>
This div background color is #F0F6AE.
.myBorderColor { border: 1px solid #F0F6AE; }
<div style="border:3px solid #F0F6AE">Div</div>
This div border color is #F0F6AE.
.myOpacity80 { color: #F0F6AE; opacity: 0.8; }
<p style="color:#F0F6AE;opacity:0.8;">80%</p>
Text with #F0F6AE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0F6AE;}
<p style="text-shadow: 3px 3px 1px #F0F6AE">Text here.</p>
This text has shadow with #F0F6AE color.
.textShadow {text-shadow: 3px 3px 1px #F0F6AE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0F6AE, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0F6AE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F6AE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0F6AE, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0F6AE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0F6AE; -webkit-box-shadow: 1px 1px 3px 2px #F0F6AE; box-shadow: 1px 1px 3px 2px #F0F6AE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0F6AE; -webkit-box-shadow: 1px 1px 3px 2px #F0F6AE; box-shadow:1px 1px 3px 2px #F0F6AE;">
Div content here</div>
This text has color #F0F6AE on black background.
This text has color #F0F6AE on white background.
This text has black color on #F0F6AE background.
This text has white color on #F0F6AE background.