Cornsilk to HEX — Color Code

HEX

#fff8dc

Format Value
HEX #fff8dc
RGB rgb(255, 248, 220)
HSL hsl(48, 100%, 93.1%)
CMYK cmyk(0%, 2.7%, 13.7%, 0%)

What is the HEX code for cornsilk?

The CSS color cornsilk in HEX format is #fff8dc. Use this value directly in CSS, SVG, and most design tools.

How do I use cornsilk in CSS?

To apply cornsilk in CSS:

  • Text color: color: #fff8dc;
  • Background: background-color: #fff8dc;
  • Border: border-color: #fff8dc;

What are all the color format values for cornsilk?

FormatValue
HEX#fff8dc
RGBrgb(255, 248, 220)
HSLhsl(48, 100%, 93.1%)
CMYKcmyk(0%, 2.7%, 13.7%, 0%)

How do I convert cornsilk to HEX?

Select cornsilk from the color name list in our color converter. The HEX value — #fff8dc — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does cornsilk belong to?

cornsilk belongs to the near-white color family. It is a light, vivid color with HSL values: hue 48°, saturation 100%, lightness 93.1%.

How do I create lighter and darker shades of cornsilk?

Lighter variant (lightness 95%): #fffae5. Darker variant (lightness 78.1%): #ffe98f. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.