COLOR #FFF8DC

HEX: #FFF8DC RGB: (255,248,220)

Color info

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

RGB color model

#FFF8DC color RGB value is (255,248,220).

RGB: (255,248,220) (100%, 97%, 86%)

RGB channels and saturation

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

255
248
220

R + G + B ~ 94%. #FFF8DC is light color.

Portions of RGB colors in percentages

R + G + B = 255 + 248 + 220 = 723 (100%)
R 255 of 723 ~ 35.27%
G 248 of 723 ~ 34.3%
B 220 of 723 ~ 30.43'%

%35.27
%34.3
%30.43

CMYK color model

#FFF8DC color CMYK value is (0,3,14,0).

  • cyan value is 0.00%
  • magenta value is 2.75%
  • yellow value is 13.73%
  • key color value is 0.00%

CMYK: (0,3,14,0)
C0M3Y14K0 (0%, 3%, 14%, 0%)
(0.00 / 0.03 / 0.14 / 0.00)

CMYK percentages

%0
%2.75
%13.73
%0

Codes

Color #FFF8DC in popluar color models

FF F8 DC
RGB 255 248 220
HSL 48° 100.00% 93.14%
HSB/HSV 48° 13.73% 100.00%
CMYK 0.00% 2.75% 13.73%
0.00%

Color #FFF8DC in popluar number systems.

HEX FF F8 DC
Decimal 255 248 220
Binary 11111111 11111000 11011100
Octal 377 370 334

Shades and tints

Shades of #FFF8DC

#FFF8DC
(255,248,220)
#E8E2C8
(232,226,200)
#D1CCB4
(209,204,180)
#BAB6A0
(186,182,160)
#A3A08C
(163,160,140)
#8C8A78
(140,138,120)
#757464
(117,116,100)
#5E5E50
(94,94,80)
#47483C
(71,72,60)
#303228
(48,50,40)
#191C14
(25,28,20)
#000000
(0,0,0)

Tints of #FFF8DC

#FFF8DC
(255,248,220)
#FFF8DF
(255,248,223)
#FFF8E2
(255,248,226)
#FFF8E5
(255,248,229)
#FFF8E8
(255,248,232)
#FFF8EB
(255,248,235)
#FFF8EE
(255,248,238)
#FFF8F1
(255,248,241)
#FFF8F4
(255,248,244)
#FFF8F7
(255,248,247)
#FFF8FA
(255,248,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #FFF8DC; }

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

This text font color is #FFF8DC.

Background Color

.myBgColor { background-color: #FFF8DC; }

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

This div background color is #FFF8DC.

Border color

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

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

This div border color is #FFF8DC.

Opacity

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

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

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

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

This text has shadow with #FFF8DC color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #FFF8DC.

Preview

Color preview on black background

This text has color #FFF8DC on black background.


Color preview on white background

This text has color #FFF8DC on white background.


Black color preview on #FFF8DC background

This text has black color on #FFF8DC background.


White color preview on #FFF8DC background

This text has white color on #FFF8DC background.


Related colors

Complementary color

Complementary color for #hex is #000723.


I love getcolorcode.com

Gradients

Color #FFF8DC is used in Cornsilk gradient.

Cornsilk


Triadic colors

1 #DCFFF8 and #F8DCFF with #FFF8DC are triadic colors.

2 #DCF8FF and #F8FFDC with #FFF8DC are triadic colors.