Diagonal Rays CSS gradient

Wide light rays, warm source. 3 CSS layers on #120A04, 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

Diagonal Rays,
ready to paste.

Wide light rays, warm source. 3 layers mixed with screen. Open it in the editor to tune each layer, then take the code as CSS, Tailwind, SVG or HTML.

Diagonal Rays CSS

.bg-diagonal-rays {
  background-color: #120A04;
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 217, 160, 0.18) 0px, rgba(255, 217, 160, 0.18) 10px, rgba(255, 217, 160, 0) 10px, rgba(255, 217, 160, 0) 48px),
    radial-gradient(circle at 25% 20%, rgba(255, 158, 69, 0.85) 0%, rgba(255, 158, 69, 0) 55%),
    radial-gradient(circle at 65% 85%, rgba(181, 71, 8, 0.6) 0%, rgba(181, 71, 8, 0) 55%);
  background-blend-mode: screen, screen, screen;
  background-size: cover;
}

Colours in Diagonal Rays

#120A04#FFD9A0#FF9E45#B54708

Where to use it

Diagonal Rays is a lattice 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 lattice gradients

New games, tools and tutorials

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