What is the RGB code for cornsilk?
The CSS color cornsilk in RGB format is rgb(255, 248, 220). 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: rgb(255, 248, 220);
- Background: background-color: rgb(255, 248, 220);
- Border: border-color: rgb(255, 248, 220);
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 RGB?
Select cornsilk from the color name list in our color converter. The RGB value — rgb(255, 248, 220) — 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 RGB used for?
RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.