Tools Navigation

Linear Gradient Generator

Pick start/end colors, choose steps and angle, and copy a production-ready CSS linear-gradient string.

From

To

Steps

Angle (deg)

CSS

background: linear-gradient(90deg, #2563eb, #4365cd, #6268ae, #806a90, #9e6c71, #bc6e53, #db7134, #f97316);

#2563eb
#4365cd
#6268ae
#806a90
#9e6c71
#bc6e53
#db7134
#f97316

How to use this tool

  1. Pick start and end colors.
  2. Set step count and angle.
  3. Copy the generated CSS or use the stop palette.

How to Use

Pick colors and copy the CSS. Use the generated stops for design systems or charts.

How It Works

The tool interpolates RGB values between two HEX colors and builds a CSS gradient string.

Key Features

  • CSS linear-gradient
  • Stop palette
  • Copy CSS

Secure & Private

No uploads. Computation happens locally.

Frequently Asked Questions

Is interpolation perceptual?
This version interpolates in RGB space for simplicity. For perceptual gradients, consider HSL/LAB interpolation.
How many stops can I generate?
Up to 50 stops to keep the UI responsive.

Related Tools

Privacy Notice

All processing happens inside your browser. No files or data are uploaded to our servers, ensuring your privacy is strongly protected.