Nebula gradient
Also called: cosmic gradient
A nebula (cosmic) gradient: clouds of gas and dust drift slowly with twinkling stars; the colors come from five nebulae photographed by NASA, and the mouse shifts the scene slightly.

When to use it
Hero for tech products, AI, astronomy, education, night events and launches. data-paleta changes the whole mood: orion (pink and orange), pilares (brown and blue), carina (blue and orange), caranguejo (teal and red), olho-de-gato (green and magenta). White text on top.
How to add it to your site
- Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- Done: the AI adds the effect to your project, just like you saw it here.
Use it in HTML
The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:
<section data-efeito="nebulosa">
<h1>Seu título</h1>
</section>
More backgrounds effects
- Gyroscope ringsAnéis giroscópio
- Black holeBuraco negro
- Background pathsCaminhos que fluem
- Starfieldwarp speed
- MeteorsChuva de meteoros
- Isometric wave columnsColunas em onda
- Chrome marbleliquid chrome
- Glass cubeCubo de vidro