COLOR #F8F8DC

HEX: #F8F8DC
RGB: (248,248,220)

Color info

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

RGB color model

#F8F8DC color RGB value is (248,248,220).

  • red value is 248;
  • green value is 248;
  • blue value is 220.
RGB:
(248,248,220)
(97%,97%,86%)

RGB channels and saturation

R 248 of 255 = 97%
G 248 of 255 = 97%
B 220 of 255 = 86%

248
248
220

R + G + B ~ 93%. #F8F8DC is light color.

Portions of RGB colors in percentages

R + G + B =
248 + 248 + 220 = 716 (100%)
R 248 of 716 ~ 34.64%
G 248 of 716 ~ 34.64%
B 220 of 716 ~ 30.73%

%34.64
%34.64
%30.73

CMYK color model

#F8F8DC color CMYK value is (0,0,11,3).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 11.29%
  • key color value is 2.75%
CMYK:
(0,0,11,3)
C0M0Y11K3 
(0%,0%,11%,3%)
(0.00/0.00/0.11/0.03)	

CMYK percentages

%0
%0
%11.29
%2.75

Codes

Color #F8F8DC in popluar color models

F8F8DC
RGB248248220
HSL60°66.67%91.76%
HSB/HSV60°11.29%97.25%
CMYK0.00%0.00%11.29%
2.75%

Color #F8F8DC in popluar number systems.

HEXF8F8DC
Decimal248248220
Binary111110001111100011011100
Octal370370334

Shades and tints

Shades of #F8F8DC

#F8F8DC
(248,248,220)
#E2E2C8
(226,226,200)
#CCCCB4
(204,204,180)
#B6B6A0
(182,182,160)
#A0A08C
(160,160,140)
#8A8A78
(138,138,120)
#747464
(116,116,100)
#5E5E50
(94,94,80)
#48483C
(72,72,60)
#323228
(50,50,40)
#1C1C14
(28,28,20)
#000000
(0,0,0)

Tints of #F8F8DC

#F8F8DC
(248,248,220)
#F8F8DF
(248,248,223)
#F8F8E2
(248,248,226)
#F8F8E5
(248,248,229)
#F8F8E8
(248,248,232)
#F8F8EB
(248,248,235)
#F8F8EE
(248,248,238)
#F8F8F1
(248,248,241)
#F8F8F4
(248,248,244)
#F8F8F7
(248,248,247)
#F8F8FA
(248,248,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #F8F8DC; }

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

This text font color is #F8F8DC.


Background Color

.myBgColor { background-color: #F8F8DC; }

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

This div background color is #F8F8DC.


Border color

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

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

This div border color is #F8F8DC.


Opacity

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

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

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

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

This text has shadow with #F8F8DC color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #F8F8DC on black background.


Color preview on white background

This text has color #F8F8DC on white background.



Black color preview on #F8F8DC background

This text has black color on #F8F8DC background.


White color preview on #F8F8DC background

This text has white color on #F8F8DC background.