DarkLinear · 2 stops
Explore palettes
Galaxy CSS gradients
Galaxy-inspired CSS gradients joining deeper blue and violet or magenta stops. The collection shows colour blends rather than star-field effects. These 24 selected examples come from the existing gradient library.
Gradient usage, contrast & CSS
Use this gradient.
Let a blue-to-violet blend carry a compact night-sky panel and add any stars as separate illustration elements. Keep functional controls on predictable surfaces.
Text over gradients.
Violet and magenta can become noticeably brighter than the blue end. Test light text across the transition, not just against the deepest blue stop.
CSS for Amethyst Dusk
background: linear-gradient(180deg, #4F3C8D 0%, #30326E 100%);
background: linear-gradient(180deg in oklab, #4F3C8D 0%, #30326E 100%);The first declaration supplies an sRGB fallback; the second interpolates in OKLab. Create a gradient with your own colours and stops.
Choose a name to preview. Click a blend to copy CSS.
The whole palette collection
Find your colours.
Getting the collection ready. Your results will appear here.
TRY ANOTHER IDEA
Your collection
Your savedpalettes
Preview, copy and share your colours.
0 saved palettes · kept in this browser
Use your saved colours.
Choose a name to preview. Click a colour to copy.
Share & export
All saved designs.
Keep a copy
Downloads your whole collection — designs, notes, name and journal — as one small file.
Pick a backup file to add its designs and journal to this browser. Nothing here is replaced.
Your collection lives only in this browser. Download it as one file; Restore brings a file back — here, or on another device.
J / K choose a palette.
L copy linkH HEX/ search
Saved palettes0
A place for the keepers
Meet your next favourite.
Find a palette you love. Hit Save. Make it yours.
Yours, right here. Saved in this browser on this device.
Pick a gradient.
Choose a name to preview. Click a blend to copy CSS.