COLOR #F0F5DC

HEX: #F0F5DC
RGB: (240,245,220)

Color info

#F0F5DC contains red, green and blue colors in about the same proportion. Web safe color of #F0F5DC is #FFFFCC (or #FFC).

RGB color model

#F0F5DC color RGB value is (240,245,220).

  • red value is 240;
  • green value is 245;
  • blue value is 220.
RGB:
(240,245,220)
(94%,96%,86%)

RGB channels and saturation

R 240 of 255 = 94%
G 245 of 255 = 96%
B 220 of 255 = 86%

240
245
220

R + G + B ~ 92%. #F0F5DC is light color.

Portions of RGB colors in percentages

R + G + B =
240 + 245 + 220 = 705 (100%)
R 240 of 705 ~ 34.04%
G 245 of 705 ~ 34.75%
B 220 of 705 ~ 31.21%

%34.04
%34.75
%31.21

CMYK color model

#F0F5DC color CMYK value is (2,0,10,4).

  • cyan value is 2.04%
  • magenta value is 0.00%
  • yellow value is 10.20%
  • key color value is 3.92%
CMYK:
(2,0,10,4)
C2M0Y10K4 
(2%,0%,10%,4%)
(0.02/0.00/0.10/0.04)	

CMYK percentages

%2.04
%0
%10.2
%3.92

Codes

Color #F0F5DC in popluar color models

F0F5DC
RGB240245220
HSL72°55.56%91.18%
HSB/HSV72°10.20%96.08%
CMYK2.04%0.00%10.20%
3.92%

Color #F0F5DC in popluar number systems.

HEXF0F5DC
Decimal240245220
Binary111100001111010111011100
Octal360365334

Shades and tints

Shades of #F0F5DC

#F0F5DC
(240,245,220)
#DBDFC8
(219,223,200)
#C6C9B4
(198,201,180)
#B1B3A0
(177,179,160)
#9C9D8C
(156,157,140)
#878778
(135,135,120)
#727164
(114,113,100)
#5D5B50
(93,91,80)
#48453C
(72,69,60)
#332F28
(51,47,40)
#1E1914
(30,25,20)
#000000
(0,0,0)

Tints of #F0F5DC

#F0F5DC
(240,245,220)
#F1F5DF
(241,245,223)
#F2F5E2
(242,245,226)
#F3F5E5
(243,245,229)
#F4F5E8
(244,245,232)
#F5F5EB
(245,245,235)
#F6F5EE
(246,245,238)
#F7F5F1
(247,245,241)
#F8F5F4
(248,245,244)
#F9F5F7
(249,245,247)
#FAF5FA
(250,245,250)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #F0F5DC color. Also use rgb(240,245,220) instead hex code.

Text Font Color

.myTextColor { color: #F0F5DC; }

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

This text font color is #F0F5DC.


Background Color

.myBgColor { background-color: #F0F5DC; }

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

This div background color is #F0F5DC.


Border color

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

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

This div border color is #F0F5DC.


Opacity

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

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

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

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

This text has shadow with #F0F5DC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #F0F5DC on black background.


Color preview on white background

This text has color #F0F5DC on white background.



Black color preview on #F0F5DC background

This text has black color on #F0F5DC background.


White color preview on #F0F5DC background

This text has white color on #F0F5DC background.