Electric Afterglow gradient
A 3-color linear CSS gradient from #F6F02A to #2D1D94, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #F6F02A | rgb(246, 240, 42) | oklch(93% 0.192 107.7) | 0% |
| #E65245 | rgb(230, 82, 69) | oklch(63.7% 0.186 28.4) | 50% |
| #2D1D94 | rgb(45, 29, 148) | oklch(34.9% 0.18 277.6) | 100% |
CSS
The first declaration is a plain sRGB gradient for every browser. The second interpolates in OKLCH, which keeps the middle as vivid as the ends.
background: linear-gradient(160deg, #F6F02A, #E65245, #2D1D94); background: linear-gradient(160deg in oklch, #F6F02A, #E65245, #2D1D94);
Tailwind CSS v4
bg-linear-160/oklch from-[#F6F02A] via-[#E65245] to-[#2D1D94]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Hyper Sun Diplinear-gradient(0deg, #2F3679, #DD3949, #FFEC32)
- Slow Sunset Striplinear-gradient(120deg, #342F94, #EA594A, #D9D722)
- Zesty Last Lightlinear-gradient(120deg, #2B2B7C, #C43B80, #D9D700)
- Zesty Sundownlinear-gradient(315deg, #EFDE49, #EC8940, #2E199C)
- Evening Sundownlinear-gradient(270deg, #30109B, #98528F, #FFB30F, #DEE375)
- Vivid Last Lightlinear-gradient(200deg, #272C80, #681C6B, #DAE643)
- Molten Afterglowlinear-gradient(135deg, #2A3590, #F87D00, #F9EE49)
- Electric Dusk Roadlinear-gradient(225deg, #2D338F, #C1538F, #F7EE55)