HEX: #F0F68C
RGB: (240,246,140)
#F0F68C contains mainly red and green colors. Web safe color of #F0F68C is #FFFF99 (or #FF9).
#F0F68C color RGB value is (240,246,140).
RGB: (240,246,140) (94%,96%,55%)
R 240 of 255 = 94%
G 246 of 255 = 96%
B 140 of 255 = 55%
R + G + B ~ 82%. #F0F68C is quite light color.
R + G + B =
240 + 246 + 140 = 626 (100%)
R 240 of 626 ~ 38.34%
G 246 of 626 ~ 39.3%
B 140 of 626 ~ 22.36%
#F0F68C color CMYK value is (2,0,43,4).
CMYK: (2,0,43,4) C2M0Y43K4 (2%,0%,43%,4%) (0.02/0.00/0.43/0.04)
F0 | F6 | 8C | |
---|---|---|---|
RGB | 240 | 246 | 140 |
HSL | 63° | 85.48% | 75.69% |
HSB/HSV | 63° | 43.09% | 96.47% |
CMYK | 2.44% | 0.00% | 43.09% |
3.53% |
HEX | F0 | F6 | 8C |
Decimal | 240 | 246 | 140 |
Binary | 11110000 | 11110110 | 10001100 |
Octal | 360 | 366 | 214 |
Examples of css and html codes for elements with #F0F68C color. Also use rgb(240,246,140) instead hex code.
.myTextColor { color: #F0F68C; }
<p style="color:#F0F68C">This sample text font color is #F0F68C.</p>
This text font color is #F0F68C.
.myBgColor { background-color: #F0F68C; }
<div style="background-color:#F0F68C">Inner text</div>
This div background color is #F0F68C.
.myBorderColor { border: 1px solid #F0F68C; }
<div style="border:3px solid #F0F68C">Div</div>
This div border color is #F0F68C.
.myOpacity80 { color: #F0F68C; opacity: 0.8; }
<p style="color:#F0F68C;opacity:0.8;">80%</p>
Text with #F0F68C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0F68C;}
<p style="text-shadow: 3px 3px 1px #F0F68C">Text here.</p>
This text has shadow with #F0F68C color.
.textShadow {text-shadow: 3px 3px 1px #F0F68C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0F68C, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0F68C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F68C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0F68C, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0F68C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0F68C; -webkit-box-shadow: 1px 1px 3px 2px #F0F68C; box-shadow: 1px 1px 3px 2px #F0F68C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0F68C; -webkit-box-shadow: 1px 1px 3px 2px #F0F68C; box-shadow:1px 1px 3px 2px #F0F68C;">
Div content here</div>
This text has color #F0F68C on black background.
This text has color #F0F68C on white background.
This text has black color on #F0F68C background.
This text has white color on #F0F68C background.