Violet Mesh CSS gradient

Electric purple over near-black. 4 CSS layers on #0A0612, mixed with screen. Edit it in the studio below, then copy the code.

Gradient Studio couldn't load its presets.

It needs a live connection to CrunchCube. Check your internet connection and reload, or open the studio at crunchcube.in.

CSS gradients · blend modes · Tailwind · 40 presets

Violet Mesh,
ready to paste.

Electric purple over near-black. 4 layers mixed with screen. Open it in the editor to tune each layer, then take the code as CSS, Tailwind, SVG or HTML.

Violet Mesh CSS

.bg-violet-mesh {
  background-color: #0A0612;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 1) 0%, rgba(139, 92, 246, 0) 48%),
    radial-gradient(ellipse at 84% 25%, rgba(217, 70, 239, 1) 0%, rgba(217, 70, 239, 0) 44%),
    radial-gradient(ellipse at 22% 86%, rgba(99, 102, 241, 1) 0%, rgba(99, 102, 241, 0) 48%),
    radial-gradient(ellipse at 88% 85%, rgba(244, 114, 182, 1) 0%, rgba(244, 114, 182, 0) 40%);
  background-blend-mode: screen, screen, screen, screen;
  background-size: cover;
}

Colours in Violet Mesh

#0A0612#8B5CF6#D946EF#6366F1#F472B6

Where to use it

Violet Mesh is a mesh gradient on a dark base. Use it for dark-mode heroes, app splash screens and video thumbnails, with white or very light text on top.

New to layered gradients? Here's how the CSS works.

More mesh gradients

New games, tools and tutorials

About one short email a week. No spam, one-click unsubscribe.