Midnight Lantern
Customize and copy the CSS
Code
background: #4B0082;
background: linear-gradient(135deg, #4B0082 0%, #FFDF00 100%);Color stops
| Stop | Position | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|---|
| Stop 1 | 0% | ||||
| Stop 2 | 100% |
Save image
Similar gradients
About Midnight Lantern
Midnight Lantern blends two colors, starting at #4B0082 and ending at #FFDF00. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #DF4B56.
The first color is deep (34% lightness) and the second one is very light (90%), with an average look that is vivid. The hue swings roughly 157° across the color wheel, which gives the gradient a wide, multi-tone sweep.
It suits cheerful highlights, promo ribbons and illustration backgrounds. Lightness changes a lot along this gradient (56% range), so no single text color holds up everywhere. Put text on a solid card or only over the stronger end.
A wide hue shift is where the default sRGB blend tends to go gray in the middle. Turn on OKLCH interpolation above for a cleaner path between #4B0082 and #FFDF00.
