Bring your website to life with smooth, dynamic color transitions.
Smooth Background is a lightweight JavaScript plugin that animates background colors, text colors, borders, CSS custom properties, and gradients. Create subtle visual effects, immersive scrolling experiences, and seamless transitions between light and dark sections — without adding heavy libraries to your project.
One tiny script. Endless creative possibilities.
Choose the behavior that fits your design:
Smooth Background uses modern OKLab and OKLCH color interpolation to create more natural-looking transitions and reduce muddy intermediate colors.
Customize duration, delay, direction, easing, iteration count, and more. Use built-in easing presets or your own cubic-bezier() curve.
Animate backgrounds, text, borders, CSS custom properties, and gradients within the same palette entry.
Get started with HTML data attributes and automatic initialization, or use the JavaScript API for complete control over your animations.
Control animations programmatically with methods such as play, pause, toggle, goTo, update, and refresh. Use callbacks and DOM events to integrate animations into your workflow.
Designed for modern websites across supported desktop and mobile browsers.
Whether you’re building a minimalist portfolio or an expressive landing page, Smooth Background gives you the tools to create polished color transitions with minimal overhead.
Works with modern versions of:
No jQuery or additional runtime dependencies required.
Get started with the installation guide, configuration options, animation examples, styling instructions, methods, and events.
Documentation: https://vlthemes.me/docs/smooth-background/
Add Smooth Background to your toolkit and start creating beautiful, fluid color transitions with just a little JavaScript.
Get Smooth Background today.