Sokella
FREE ONLINE TOOL

CSS Gradient Generator

Create CSS linear-gradient code from two colors.

Workspace Runs in your browser

Loading tool…

HOW TO USE IT

CSS Gradient Generator — how to use it

  1. Enter the required input in the workspace above.
  2. Run tool button.
  3. Copy the result, or download it when available.

Pick a color or enter color values. Copy the generated code to use in your design.

Example

Input: First color: #6759ef · Second color: #ffffff · Angle (degrees): 135

Example result: background: linear-gradient(135deg, #6759ef, #ffffff);