CSS Gradient Generator

Choose two six-digit HEX colors and a direction from 0 to 360° to preview a linear gradient. Copy supplies a complete background: linear-gradient(...) declaration for CSS.

Options

Result

background: linear-gradient(90deg, #3b82f6, #ec4899);

CSS Gradient Generator

Choose two six-digit HEX colors and a direction from 0 to 360° to preview a linear gradient. Copy supplies a complete background: linear-gradient(...) declaration for CSS.

Usage guide