Static editor · Change color · 2 min read

Paint a gradient background

Turn a flat backdrop into a gradient in the Static mockup editor: switch the fill to Linear, set the end color and turn the line on the canvas.

To paint a gradient background in a mockup, open a scene in the Static mockup editor on ls.graphics, click the swatch in Change color, choose Linear in the menu that reads Solid, then set the end color and drag the line on the canvas. In our test, the D5D5D5 backdrop became a gradient to E8956A.

The pictures use the free iPhone Duo scene with a design already on its screen. To add your own, see Create a mockup online.

Watch the steps

Switch the fill to Linear, set the end color and drag the handle on the canvas.

19-second editor demo · no audio
Transcript

A folding phone stands on a light blue backdrop. In Change color, click the CFDADC swatch.

The color picker opens. Click the menu at its top, which reads Solid, and choose Linear.

A line with a handle at each end appears across the canvas, and a gradient bar appears in the picker.

Click the stop at the right end of the bar and set it to E8956A. The backdrop turns into a blue to orange gradient.

Drag the right handle on the canvas down. The gradient turns with it.

Open Change color

Find the Change color section in the right panel. In this scene it has one row, the background, filled with a solid D5D5D5.

The Change color section in the right panel with a gray swatch and hex D5D5D5The Change color section in the right panel with a gray swatch and hex D5D5D5
The row shows the current fill.

Open the fill menu

Click the swatch to open the color picker. Then click the menu at the top of the picker, which reads Solid. It lists Solid, Linear and Radial.

The color picker with the open menu listing Solid, Linear and RadialThe color picker with the open menu listing Solid, Linear and Radial
Choose how the color is painted.

Choose Linear

Select Linear. A line with a handle at each end appears on the canvas, and a gradient bar appears at the top of the picker. Both ends start as the same gray, so nothing changes yet.

A gradient line with two handles on canvas and a gradient bar in the pickerA gradient line with two handles on canvas and a gradient bar in the picker
The handles on the canvas control the gradient.

Set the end color

Click the stop at the right end of the gradient bar, click the hex field, type a hex color and press Enter. The backdrop updates right away. The left stop keeps the first color.

The picker with the right stop at E8956A and an orange gradient behind the phoneThe picker with the right stop at E8956A and an orange gradient behind the phone
The selected stop takes the color you type.

Result: the gray D5D5D5 backdrop fades into E8956A from left to right.

Drag a handle on the canvas

Drag the small dot at the end of the line to turn the gradient. The colors follow the line.

The gradient line turned diagonal after the end dot was dragged downThe gradient line turned diagonal after the end dot was dragged down
The gradient follows the line.

Questions

How do I make a gradient instead of a solid color?

In the Static mockup editor, click the swatch in Change color, open the menu at the top of the picker, which reads Solid, and select Linear. A line with handles and a gradient bar appear.

Which fill types does the color picker offer?

The menu at the top of the color picker in the Static mockup editor lists three fills: Solid, Linear and Radial. Solid is the default for a scene with a flat backdrop, such as D5D5D5 in our test.

How do I change the gradient colors?

Click a stop on the gradient bar at the top of the picker, type a hex color in the hex field and press Enter. In our test, the right stop set to E8956A turned the right side of the backdrop orange.

How do I change the direction of the gradient?

Drag the small dot at the end of the line on the canvas. In our test, dragging the right end dot down turned the line diagonal, and the gradient followed it.

Does a gradient background change my design on the screen?

No. In our test the design on the phone screen kept its colors while the backdrop changed from solid gray to a gradient, because Change color paints only the background of the scene.

Try it in the Static mockup editor

A mockup generator in the browser: drop a design in, export a picture.

Open editor