HEX: #F0F597
RGB: (240,245,151)
#F0F597 contains mainly red and green colors. Web safe color of #F0F597 is #FFFF99 (or #FF9).
#F0F597 color RGB value is (240,245,151).
RGB: (240,245,151) (94%,96%,59%)
R 240 of 255 = 94%
G 245 of 255 = 96%
B 151 of 255 = 59%
R + G + B ~ 83%. #F0F597 is quite light color.
R + G + B =
240 + 245 + 151 = 636 (100%)
R 240 of 636 ~ 37.74%
G 245 of 636 ~ 38.52%
B 151 of 636 ~ 23.74%
#F0F597 color CMYK value is (2,0,38,4).
CMYK: (2,0,38,4) C2M0Y38K4 (2%,0%,38%,4%) (0.02/0.00/0.38/0.04)
F0 | F5 | 97 | |
---|---|---|---|
RGB | 240 | 245 | 151 |
HSL | 63° | 82.46% | 77.65% |
HSB/HSV | 63° | 38.37% | 96.08% |
CMYK | 2.04% | 0.00% | 38.37% |
3.92% |
HEX | F0 | F5 | 97 |
Decimal | 240 | 245 | 151 |
Binary | 11110000 | 11110101 | 10010111 |
Octal | 360 | 365 | 227 |
Examples of css and html codes for elements with #F0F597 color. Also use rgb(240,245,151) instead hex code.
.myTextColor { color: #F0F597; }
<p style="color:#F0F597">This sample text font color is #F0F597.</p>
This text font color is #F0F597.
.myBgColor { background-color: #F0F597; }
<div style="background-color:#F0F597">Inner text</div>
This div background color is #F0F597.
.myBorderColor { border: 1px solid #F0F597; }
<div style="border:3px solid #F0F597">Div</div>
This div border color is #F0F597.
.myOpacity80 { color: #F0F597; opacity: 0.8; }
<p style="color:#F0F597;opacity:0.8;">80%</p>
Text with #F0F597 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0F597;}
<p style="text-shadow: 3px 3px 1px #F0F597">Text here.</p>
This text has shadow with #F0F597 color.
.textShadow {text-shadow: 3px 3px 1px #F0F597, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0F597, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0F597 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F597, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0F597, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0F597 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0F597; -webkit-box-shadow: 1px 1px 3px 2px #F0F597; box-shadow: 1px 1px 3px 2px #F0F597; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0F597; -webkit-box-shadow: 1px 1px 3px 2px #F0F597; box-shadow:1px 1px 3px 2px #F0F597;">
Div content here</div>
This text has color #F0F597 on black background.
This text has color #F0F597 on white background.
This text has black color on #F0F597 background.
This text has white color on #F0F597 background.