lumera / guides

LUMERA VECTOR / PRACTICAL GUIDE

Add a gradient fill to SVG online

Create a smooth transition from blue #244B77 to gold #F2C66D. This example uses a 240 × 160 rectangle on a 320 × 240 artboard.

English edition · English interface screenshots captured in desktop Chrome. The original exercise was checked 2026-10-22. Choose English in the editor settings if needed. Keep your source files and inspect the downloaded result.

Open Lumera Vector ↗ Русская версия →

STEP 01

Open the SVG and select the shape

Click Open and choose the gradient-source.svg sample below. Press Ctrl+A to select its single shape. Check that its width is 240 px and its height is 160 px in Properties.

STEP 02

Apply a linear gradient

Open Gradient using the gradient icon on the right vertical panel bar. In the Type row, click the first button for a linear gradient. The initial gradient runs from white to black.

STEP 03

Set the start color

Double-click the left stop beneath the gradient ramp. Enter 244B77 in the field beside # and press Enter. Keep this stop at Location 0% and Opacity 100%.

STEP 04

Set the end color

Double-click the right stop. Enter F2C66D in the # field and press Enter. Keep Location 100% and Opacity 100%. The result is a horizontal transition from blue to gold.

STEP 05

Check SVG export options

Choose File → Export → Export As SVG. Keep Use Artboards enabled and turn Responsive off, then click OK. These options preserve width 320 and height 240 in the SVG file.

STEP 06

Save the SVG and project

Use File → Save As to save the editable .vectorcraft document. Then choose File → Export → Export As SVG. In SVG Options, keep Use Artboards enabled and turn Responsive off to preserve the 320 × 240 dimensions. Reopen the SVG and check that the gradient is still present.

English interface screenshots and results

Follow the corresponding controls in the English editor. Open any screenshot to inspect the details at full size.

The selected rectangle with its initial blue fill.
The selected rectangle with its initial blue fill. Click to view full size.
The linear gradient type applied to the selected path.
The linear gradient type applied to the selected path. Click to view full size.
Start stop: #244B77 at Location 0%.
Start stop: #244B77 at Location 0%. Click to view full size.
End stop: #F2C66D at Location 100%.
End stop: #F2C66D at Location 100%. Click to view full size.
SVG Options: Use Artboards enabled, Responsive disabled.
SVG Options: Use Artboards enabled, Responsive disabled. Click to view full size.
The exported SVG reopened with its gradient preserved.
The exported SVG reopened with its gradient preserved. Click to view full size.

Limits, troubleshooting and saving

The exported SVG contains a linear gradient with stops at 0% and 100%. Its shape remains vector geometry, and the .vectorcraft project keeps the editable gradient settings. Start with a simple closed path without a stroke. The settings apply to the selected object. Open the Gradient panel using the light-to-dark gradient icon on the right vertical panel bar. The .vectorcraft format keeps the editable document; SVG is suitable for websites and other vector applications. Creation and export were checked in both interfaces on an unchanged local build whose editor file hashes matched the fresh Site source. After the Site update, the downloaded SVG was also opened in the public lumeratools.com editor: its gradient was preserved and no console errors were reported. The editable project was reopened during local testing.

Lumera is a beta. This guide describes the checked practice example, not a guarantee for every file or browser. Save the downloaded result and editable project before closing the tab.

English practice-file notes (TXT) ↓

Practice files and results

Use these source files, editable projects and finished examples to follow the guide. Keep your own originals separately.