Choose the shape
Use Linear for a direction or Radial for a centered circle.
Build linear or radial CSS gradients with editable stops.
Two to eight opaque HEX stops, in increasing position order. Equal positions create a hard edge.
background: linear-gradient(135deg, #0070f3 0%, #00c6ff 100%);Edit two to eight HEX colors and positions, preview the gradient and copy its CSS.
Use Linear for a direction or Radial for a centered circle.
Use two to eight six-digit HEX colors and positions from 0 to 100%. Keep positions in increasing order; equal positions create a hard edge.
Use the current preview and copy the background declaration. Correct invalid colors, positions or angles first.
Inputs are processed in your browser. Analytics and advertising can make separate network requests.