COLOR #F0F297

HEX: #F0F297
RGB: (240,242,151)

Color info

#F0F297 contains mainly red and green colors. Web safe color of #F0F297 is #FFFF99 (or #FF9).

RGB color model

#F0F297 color RGB value is (240,242,151).

  • red value is 240;
  • green value is 242;
  • blue value is 151.
RGB:
(240,242,151)
(94%,95%,59%)

RGB channels and saturation

R 240 of 255 = 94%
G 242 of 255 = 95%
B 151 of 255 = 59%

240
242
151

R + G + B ~ 83%. #F0F297 is quite light color.

Portions of RGB colors in percentages

R + G + B =
240 + 242 + 151 = 633 (100%)
R 240 of 633 ~ 37.91%
G 242 of 633 ~ 38.23%
B 151 of 633 ~ 23.85%

%37.91
%38.23
%23.85

CMYK color model

#F0F297 color CMYK value is (1,0,38,5).

  • cyan value is 0.83%
  • magenta value is 0.00%
  • yellow value is 37.60%
  • key color value is 5.10%
CMYK:
(1,0,38,5)
C1M0Y38K5 
(1%,0%,38%,5%)
(0.01/0.00/0.38/0.05)	

CMYK percentages

%0.83
%0
%37.6
%5.1

Codes

Color #F0F297 in popluar color models

F0F297
RGB240242151
HSL61°77.78%77.06%
HSB/HSV61°37.60%94.90%
CMYK0.83%0.00%37.60%
5.10%

Color #F0F297 in popluar number systems.

HEXF0F297
Decimal240242151
Binary111100001111001010010111
Octal360362227

Shades and tints

Shades of #F0F297

#F0F297
(240,242,151)
#DBDC8A
(219,220,138)
#C6C67D
(198,198,125)
#B1B070
(177,176,112)
#9C9A63
(156,154,99)
#878456
(135,132,86)
#726E49
(114,110,73)
#5D583C
(93,88,60)
#48422F
(72,66,47)
#332C22
(51,44,34)
#1E1615
(30,22,21)
#000000
(0,0,0)

Tints of #F0F297

#F0F297
(240,242,151)
#F1F3A0
(241,243,160)
#F2F4A9
(242,244,169)
#F3F5B2
(243,245,178)
#F4F6BB
(244,246,187)
#F5F7C4
(245,247,196)
#F6F8CD
(246,248,205)
#F7F9D6
(247,249,214)
#F8FADF
(248,250,223)
#F9FBE8
(249,251,232)
#FAFCF1
(250,252,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #F0F297 color. Also use rgb(240,242,151) instead hex code.

Text Font Color

.myTextColor { color: #F0F297; }

<p style="color:#F0F297">This sample text font color is #F0F297.</p>

This text font color is #F0F297.


Background Color

.myBgColor { background-color: #F0F297; }

<div style="background-color:#F0F297">Inner text</div>

This div background color is #F0F297.


Border color

.myBorderColor { border: 1px solid #F0F297; }

<div style="border:3px solid #F0F297">Div</div>

This div border color is #F0F297.


Opacity

.myOpacity80 { color: #F0F297; opacity: 0.8; }

<p style="color:#F0F297;opacity:0.8;">80%</p>

Text with #F0F297 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #F0F297;}

<p style="text-shadow: 3px 3px 1px #F0F297">Text here.</p>

This text has shadow with #F0F297 color.

.textShadow {text-shadow: 3px 3px 1px #F0F297, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #F0F297, 5px 5px 20px red">Text here.</p>

This text has shadow with #F0F297 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0F297, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#F0F297, Direction=45, Strength=4)">Text</p>

This text has shadow with #F0F297 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #F0F297;
  -webkit-box-shadow:	1px 1px 3px 2px #F0F297;
  box-shadow:		1px 1px 3px 2px #F0F297;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #F0F297;
-webkit-box-shadow: 1px 1px 3px 2px #F0F297;
box-shadow:1px 1px 3px 2px #F0F297;">
Div content here</div>
This div box has shadow with color #F0F297.

Preview

Color preview on black background

This text has color #F0F297 on black background.


Color preview on white background

This text has color #F0F297 on white background.



Black color preview on #F0F297 background

This text has black color on #F0F297 background.


White color preview on #F0F297 background

This text has white color on #F0F297 background.