Neon Refraction CSS gradient

Hard neon through frosted glass. 4 CSS layers on #0D0714, mixed with screen and overlay and soft-light. 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

Neon Refraction,
ready to paste.

Hard neon through frosted glass. 4 layers mixed with screen and overlay and soft-light. Open it in the editor to tune each layer, then take the code as CSS, Tailwind, SVG or HTML.

Neon Refraction CSS

.bg-neon-refraction {
  background-color: #0D0714;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255, 0, 229, 0.8) 0%, rgba(255, 0, 229, 0) 42%),
    radial-gradient(circle at 75% 35%, rgba(0, 255, 194, 0.7) 0%, rgba(0, 255, 194, 0) 42%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%),
    url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.8%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22180%22%20height%3D%22180%22%20filter%3D%22url(%23n)%22%20opacity%3D%220.1%22%2F%3E%3C%2Fsvg%3E');
  background-blend-mode: screen, screen, overlay, soft-light;
  background-size: cover;
}

Colours in Neon Refraction

#0D0714#FF00E5#00FFC2#FFFFFF#000000

Where to use it

Neon Refraction is a prism 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 prism gradients

New games, tools and tutorials

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