COLOR #F0F2A5

HEX: #F0F2A5
RGB: (240,242,165)

Color info

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

RGB color model

#F0F2A5 color RGB value is (240,242,165).

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

RGB channels and saturation

R 240 of 255 = 94%
G 242 of 255 = 95%
B 165 of 255 = 65%

240
242
165

R + G + B ~ 85%. #F0F2A5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
240 + 242 + 165 = 647 (100%)
R 240 of 647 ~ 37.09%
G 242 of 647 ~ 37.4%
B 165 of 647 ~ 25.5%

%37.09
%37.4
%25.5

CMYK color model

#F0F2A5 color CMYK value is (1,0,32,5).

  • cyan value is 0.83%
  • magenta value is 0.00%
  • yellow value is 31.82%
  • key color value is 5.10%
CMYK:
(1,0,32,5)
C1M0Y32K5 
(1%,0%,32%,5%)
(0.01/0.00/0.32/0.05)	

CMYK percentages

%0.83
%0
%31.82
%5.1

Codes

Color #F0F2A5 in popluar color models

F0F2A5
RGB240242165
HSL62°74.76%79.80%
HSB/HSV62°31.82%94.90%
CMYK0.83%0.00%31.82%
5.10%

Color #F0F2A5 in popluar number systems.

HEXF0F2A5
Decimal240242165
Binary111100001111001010100101
Octal360362245

Shades and tints

Shades of #F0F2A5

#F0F2A5
(240,242,165)
#DBDC96
(219,220,150)
#C6C687
(198,198,135)
#B1B078
(177,176,120)
#9C9A69
(156,154,105)
#87845A
(135,132,90)
#726E4B
(114,110,75)
#5D583C
(93,88,60)
#48422D
(72,66,45)
#332C1E
(51,44,30)
#1E160F
(30,22,15)
#000000
(0,0,0)

Tints of #F0F2A5

#F0F2A5
(240,242,165)
#F1F3AD
(241,243,173)
#F2F4B5
(242,244,181)
#F3F5BD
(243,245,189)
#F4F6C5
(244,246,197)
#F5F7CD
(245,247,205)
#F6F8D5
(246,248,213)
#F7F9DD
(247,249,221)
#F8FAE5
(248,250,229)
#F9FBED
(249,251,237)
#FAFCF5
(250,252,245)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #F0F2A5; }

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

This text font color is #F0F2A5.


Background Color

.myBgColor { background-color: #F0F2A5; }

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

This div background color is #F0F2A5.


Border color

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

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

This div border color is #F0F2A5.


Opacity

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

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

Text with #F0F2A5 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 #F0F2A5;}

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

This text has shadow with #F0F2A5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #F0F2A5 on black background.


Color preview on white background

This text has color #F0F2A5 on white background.



Black color preview on #F0F2A5 background

This text has black color on #F0F2A5 background.


White color preview on #F0F2A5 background

This text has white color on #F0F2A5 background.