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