Neatbo.

Gradient maker

Find a blend you love. Copy the CSS.

Browser-local processingInputColor stopsOutputCSS
  1. 1Add input
  2. 2Adjust settings
  3. 3Get your result

Tool input and files are processed in this browser without being uploaded.

Your input

Inputs are kept temporarily in this tab when switching tools. Refreshing or closing clears them; large results may need to be regenerated.

⌘ / Ctrl + Enter to run

Color stops

0 characters · 0 bytes
Options

Complete the required options first. You can keep the defaults for the rest.

Preparing the tool…

Before you start

Build a linear or radial CSS gradient from validated color stops and positions. Stops are sorted by position, and preview and copied CSS use the same generated value.

How to use this tool

  1. Adjust at least two color stops and their positions; add more if needed. The JSON editor is available for precise edits.
  2. Choose linear or radial. For a linear gradient, set its angle before selecting “Generate gradient CSS”.
  3. Inspect the preview, then copy or download the CSS.

Supported inputs and limits

Pasted text is limited to 1 MiB; review the result before using it.

Worked example

Example input

[{"color":"#000","position":100},{"color":"#fff","position":0}]
Example options
{}

Example output

background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 1) 100%);

When something does not work

Use the documented input format and keep values within the displayed limits. Review the result before using it in another document or application. Editing the input marks the previous result as stale; a failed run clears it.

Frequently asked questions

Are my files uploaded?

No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.

What should I check in this result?

Build a linear or radial CSS gradient from validated color stops and positions. Stops are sorted by position, and preview and copied CSS use the same generated value.

Documentation & further reading

Related tools