COLOR #F5F8A2

HEX: #F5F8A2
RGB: (245,248,162)

Color info

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

RGB color model

#F5F8A2 color RGB value is (245,248,162).

  • red value is 245;
  • green value is 248;
  • blue value is 162.
RGB:
(245,248,162)
(96%,97%,64%)

RGB channels and saturation

R 245 of 255 = 96%
G 248 of 255 = 97%
B 162 of 255 = 64%

245
248
162

R + G + B ~ 86%. #F5F8A2 is light color.

Portions of RGB colors in percentages

R + G + B =
245 + 248 + 162 = 655 (100%)
R 245 of 655 ~ 37.4%
G 248 of 655 ~ 37.86%
B 162 of 655 ~ 24.73%

%37.4
%37.86
%24.73

CMYK color model

#F5F8A2 color CMYK value is (1,0,35,3).

  • cyan value is 1.21%
  • magenta value is 0.00%
  • yellow value is 34.68%
  • key color value is 2.75%
CMYK:
(1,0,35,3)
C1M0Y35K3 
(1%,0%,35%,3%)
(0.01/0.00/0.35/0.03)	

CMYK percentages

%1.21
%0
%34.68
%2.75

Codes

Color #F5F8A2 in popluar color models

F5F8A2
RGB245248162
HSL62°86.00%80.39%
HSB/HSV62°34.68%97.25%
CMYK1.21%0.00%34.68%
2.75%

Color #F5F8A2 in popluar number systems.

HEXF5F8A2
Decimal245248162
Binary111101011111100010100010
Octal365370242

Shades and tints

Shades of #F5F8A2

#F5F8A2
(245,248,162)
#DFE294
(223,226,148)
#C9CC86
(201,204,134)
#B3B678
(179,182,120)
#9DA06A
(157,160,106)
#878A5C
(135,138,92)
#71744E
(113,116,78)
#5B5E40
(91,94,64)
#454832
(69,72,50)
#2F3224
(47,50,36)
#191C16
(25,28,22)
#000000
(0,0,0)

Tints of #F5F8A2

#F5F8A2
(245,248,162)
#F5F8AA
(245,248,170)
#F5F8B2
(245,248,178)
#F5F8BA
(245,248,186)
#F5F8C2
(245,248,194)
#F5F8CA
(245,248,202)
#F5F8D2
(245,248,210)
#F5F8DA
(245,248,218)
#F5F8E2
(245,248,226)
#F5F8EA
(245,248,234)
#F5F8F2
(245,248,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #F5F8A2 color. Also use rgb(245,248,162) instead hex code.

Text Font Color

.myTextColor { color: #F5F8A2; }

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

This text font color is #F5F8A2.


Background Color

.myBgColor { background-color: #F5F8A2; }

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

This div background color is #F5F8A2.


Border color

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

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

This div border color is #F5F8A2.


Opacity

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

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

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

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

This text has shadow with #F5F8A2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #F5F8A2 on black background.


Color preview on white background

This text has color #F5F8A2 on white background.



Black color preview on #F5F8A2 background

This text has black color on #F5F8A2 background.


White color preview on #F5F8A2 background

This text has white color on #F5F8A2 background.