What is the HSL code for cornsilk?
The CSS color cornsilk in HSL format is hsl(48, 100%, 93.1%). 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: hsl(48, 100%, 93.1%);
- Background: background-color: hsl(48, 100%, 93.1%);
- Border: border-color: hsl(48, 100%, 93.1%);
What are all the color format values for cornsilk?
| Format | Value |
|---|---|
| HEX | #fff8dc |
| RGB | rgb(255, 248, 220) |
| HSL | hsl(48, 100%, 93.1%) |
| CMYK | cmyk(0%, 2.7%, 13.7%, 0%) |
How do I convert cornsilk to HSL?
Select cornsilk from the color name list in our color converter. The HSL value — hsl(48, 100%, 93.1%) — 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 HSL used for?
HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.