Cornsilk Hex Color



#FFF8DC
(255, 248, 220)

Cornsilk (or 0xFFF8DC), RGB value is (255, 248, 220). This html color code is also a web safe color which is equal to FFFFCC. Cornsilk hex color red value is 255, green value is 248 and the blue value of its RGB is 220. Cylindrical-coordinate representations (also known as HSL) of color Cornsilk hue: 48, saturation: 100 and the lightness value of Cornsilk is 93.137254901961.

Color spaces of Cornsilk

RGB 255248220
HSL48100.00%93.14%
HSV48°14°100°
CMYK 0.000.030.14   0.00
XYZ87.725793.562181.1458
Yxy93.56210.33430.3565
CIELCh97.455314.454998.8101
CIE-Lab97.4553-2.213914.2843

Cornsilk Image


Base Numbers

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

Shades of Cornsilk

5 different shades of color.

Monochromatic of Cornsilk

5 complementary shades of color.

Analogous of Cornsilk

These colors are all close to each other on a color wheel.

Complementary of Cornsilk

2 of these colors are a different shade of the base color. The other 2 are a weighted opposite of the base color.

Triad of Cornsilk

These colors are all equally distanced from each other on a color wheel, 2 of which have an alternate shade.

Weighted Triad of Cornsilk

These colors are all similarly distanced from each other on a color wheel, 2 of which have an alternate shade. These colors are all slightly closer to the base color than in a normal triad.

Tetrad of Cornsilk

3 of these colors are all equally distanced from each other on a color wheel, plus 1 alternated shade for the base color and the 1 color that is opposite of the base color.

Weighted Tetrad of Cornsilk

3 of these colors are all similarly distanced from each other on a color wheel, the base color has an alternate shade, and there is a weighted opposite color. These colors are all slightly closer to the base color than in a normal tetrad.

Compound of Cornsilk

These colors use mathematical offsets that usually complement each other well, and can highlight the base color.

Rectangular Tetrad of Cornsilk

4 of these colors form a rectangle on a color wheel, and 1 color is an alternate shade for the base color.

Cornsilk CSS Color Codes

.mybgcolor {background-color:#FFF8DC; }
.myforecolor {color:#FFF8DC; }
.mybordercolor {border:3px solid #FFF8DC;}

Cornsilk Text Font Color

<p style="color:#FFF8DC">Text here</p>

This sample text font color is #FFF8DC
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.


Cornsilk Background Color

<div style="background-color:#FFF8DC">
Div content here</div>

This div background color is #FFF8DC


Cornsilk Border Color

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

This div border color is #FFF8DC


Css3 Examples

.textShadowRgb {
  text-shadow: 4px 4px 2px rgba(255, 248, 220, 0.8); }
.textShadowHex {
  text-shadow: 4px 4px 2px #FFF8DC}; }
.divShadow {
  -moz-box-shadow: 1px 1px 3px 2px #FFF8DC;
  -webkit-box-shadow: 1px 1px 3px 2px #FFF8DC;
  box-shadow:         1px 1px 3px 2px #FFF8DC}; }

Text Shadow with RGB Values

<p style="text-shadow: 4px 4px 2px rgba(255, 248, 220, 0.8);">Text here</p>

This text has shadow with rgb values.


Text Shadow with Hex Values

<p style="text-shadow: 4px 4px 2px #FFF8DC">Text here</p>

This text has shadow with hex values.


Div Box Shadow

<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