Component · Animated backgrounds

Animated mesh gradient background

by Informeek Studio 11 November 2026
Live Move the cursor to pull a coral glow through the colours

The prompt

Create a mesh gradient background for a payroll startup hero with a WebGL fragment shader. Place four colour points that drift on slow looping paths, peach (#ffb38a) top left, lilac (#c3a6ff) top right, mint (#9ee6c9) bottom right and sky blue (#8ec5ff) bottom left, plus a fifth coral (#ff8a7a) point that follows the pointer. Blend them by inverse distance weighting in linear light (square the colours first, take the square root after) and lift saturation by 30% so the blends never turn grey. Before blending, fold the coordinates with two slow travelling sine waves so soft wave shaped bands sweep through the colour, and add a faint satin sheen along the same direction. Add a few levels of dither noise to stop banding and a multiply grain overlay at 6% opacity in CSS. Clicking or tapping strengthens the waves and sends a soft bright ring outward. After 2.5s without input the coral point wanders on its own, which is what phones see. Render at half resolution because the image is smooth. Copy in dark navy (#1d1a33): a frosted glass pill "Payroll for teams of 5 to 500", an 82px headline "Pay day, without the paperwork", one line and a navy "Try it free for 30 days" button with "No card needed" beside it on wider screens. Add a CSS radial gradient fallback and a still frame for reduced motion.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by replacing the five colour points with your brand palette.

About this mesh gradient

A mesh gradient blends several colours from different points instead of along one line, which gives that soft, painted look popular in product design. Here it also moves. Peach, lilac, mint and sky blue drift slowly around the edges of the screen, the whole surface folds into gentle waves, and a coral glow follows your cursor through the colours. Click and the waves strengthen while a pale ring spreads outward.

The shader weights each colour by how close it is, then does the blending in linear light, which keeps pastel mixes clean rather than muddy. A 30 percent saturation lift stops the middle of the screen fading to grey, a touch of dither prevents banding on smooth screens, and a fine grain overlay gives the surface a printed texture. Because there is no fine detail, it renders at half resolution and stays light on phones.

Why the prompt works

  • It places every colour, so the layout of the gradient is predictable.
  • It blends in linear light, the fix for grey middles.
  • It adds wave folding, which turns a static mesh into motion.
  • It deals with banding with dither and grain.

Where to use it

Fintech, HR, wellbeing and productivity products on light sites, behind short, friendly headlines.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Animated backgrounds

Interactive dot grid background

Live
Component · Animated backgrounds

Warp speed starfield background

Live
Component · Animated backgrounds

Jigsaw grid distortion background