Electric Dusk Road gradient
A 3-color linear CSS gradient from #2D338F to #F7EE55, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #2D338F | rgb(45, 51, 143) | oklch(37.8% 0.15 273.9) | 0% |
| #C1538F | rgb(193, 83, 143) | oklch(60% 0.156 348.9) | 50% |
| #F7EE55 | rgb(247, 238, 85) | oklch(92.9% 0.168 106) | 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(225deg, #2D338F, #C1538F, #F7EE55); background: linear-gradient(225deg in oklch, #2D338F, #C1538F, #F7EE55);
Tailwind CSS v4
bg-linear-225/oklch from-[#2D338F] via-[#C1538F] to-[#F7EE55]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Zesty Last Lightlinear-gradient(120deg, #2B2B7C, #C43B80, #D9D700)
- Vivid Last Lightlinear-gradient(200deg, #272C80, #681C6B, #DAE643)
- Wandering Horizon Linelinear-gradient(315deg, #220F8F, #B2296B, #EEE481)
- Bright Embers Fadelinear-gradient(0deg, #E7E15D, #630063, #282693)
- Electric Afterglowlinear-gradient(160deg, #F6F02A, #E65245, #2D1D94)
- Zesty Sundownlinear-gradient(315deg, #EFDE49, #EC8940, #2E199C)
- Evening Sundownlinear-gradient(270deg, #30109B, #98528F, #FFB30F, #DEE375)
- Molten Afterglowlinear-gradient(135deg, #2A3590, #F87D00, #F9EE49)